Re: [WiX-users] SqlScript and CustomActions

2006-07-12 Thread Michael Osmond
I understand


The only thing I could think of is to run the data load by using the
"xp_cmdshell" stored procedure from an SQLString rather than as a custom
action.  But then the xml files will need to be installed on the system
first so that you can reference them, which could be a sequencing issue.
Are you relying on the XMLFile task to update the xml files first?

Michael

-Original Message-
From: Jaap de Wolff [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 13 July 2006 4:21 PM
To: Michael Osmond; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] SqlScript and CustomActions

Actually until now I filled the database with sql string actions until
now.
It had to be an sql strings, because I was using some setup parameters,
and the sql strings where > 1000 lines. And because I can do the same
job with
(existing) xml files and a custom action, this is far more elegant.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Michael 
> Osmond
> Sent: donderdag 13 juli 2006 3:02
> To: Jaap de Wolff; wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] SqlScript and CustomActions
>
>
> Hello Jaap,
>
> I don't think you can sequence a custom action in between.  The SQL 
> scripts are all executed by a single custom action themselves.
>
> Can you do your dataload through an slqstring or script instead of via

> other custom actions?
>
> Michael
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jaap de 
> Wolff
> Sent: Thursday, 13 July 2006 12:33 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] SqlScript and CustomActions
>
> Hello,
>
> I want to create a database, run an sql script to create tables etc.
> then do a few custom actions, which fill the database, and then 
> execute a few sql strings.
> The last sql strings contain values which depend on customer choices.
> My question is:
> Is there a way of scheduling custom actions between some sql scripts, 
> and some sql strings?
>
> Jaap
>
>
>
>
> --
> --
> -
> Using Tomcat but need to do more? Need to support web services, 
> security?
> Get stuff done quickly with pre-integrated technology to make your job

> easier Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216
> 42 ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
> --- Using Tomcat but need to do more? Need to support web services, 
> security?
> Get stuff done quickly with pre-integrated technology to make your job

> easier Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216
> 42 ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SqlScript and CustomActions

2006-07-12 Thread Jaap de Wolff
Actually until now I filled the database with sql string actions until now.
It had to be an sql strings, because I was using some setup parameters, and
the sql strings where > 1000 lines. And because I can do the same job with
(existing) xml files and a custom action, this is far more elegant.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Michael
> Osmond
> Sent: donderdag 13 juli 2006 3:02
> To: Jaap de Wolff; wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] SqlScript and CustomActions
>
>
> Hello Jaap,
>
> I don't think you can sequence a custom action in between.  The SQL
> scripts are all executed by a single custom action themselves.
>
> Can you do your dataload through an slqstring or script instead of via
> other custom actions?
>
> Michael
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jaap de
> Wolff
> Sent: Thursday, 13 July 2006 12:33 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] SqlScript and CustomActions
>
> Hello,
>
> I want to create a database, run an sql script to create tables etc.
> then do a few custom actions, which fill the database, and then execute
> a few sql strings.
> The last sql strings contain values which depend on customer choices.
> My question is:
> Is there a way of scheduling custom actions between some sql scripts,
> and some sql strings?
>
> Jaap
>
>
>
>
> 
> -
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] FW: InstallUtil and GACing the same assembly

2006-07-12 Thread Phil Wilson



I don't *think* this surprises me. In the standard 
search for assemblies (as in MSDN "How the runtime locates assemblies") if the 
assembly is in the GAC it gets used, and if there's also one in the application 
folder it gets ignored. 
 
Phil Wilson 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Simon 
BurgessSent: Wednesday, July 12, 2006 7:08 AMTo: 
wix-users@lists.sourceforge.netSubject: [WiX-users] FW: InstallUtil 
and GACing the same assembly


 
 




From: Simon Burgess 
[mailto:[EMAIL PROTECTED] Sent: 12 July 2006 15:08To: 'Bob Arnson'Subject: RE: [WiX-users] InstallUtil and 
GACing the same assembly
 
No I’m saying that 
installutil should be using the location on the file system that I define in my 
 elements and that’s what happens if all my msi is doing is 
trying to installutil my dll (see InstallUtilSuccess.txt).However, as soon as I 
introduce another  element to install the same dll to the GAC, 
then the installutil operation seems to get confused about the location it 
should be running installutil (see 
InstallUtilFail.txt)
 




From: Bob Arnson 
[mailto:[EMAIL PROTECTED] Sent: 11 
July 2006 23:31To: Simon 
BurgessCc: 
wix-users@lists.sourceforge.netSubject: Re: [WiX-users] InstallUtil and 
GACing the same assembly
 
Simon Burgess wrote: 
And that is what I have tried in my example but for some 
reason while the installutil actions are being performed (see 
InstallUtilFail.txt) the ‘assemblypath’ value changes from this location on the 
file system to a GAC–like location (when as you say the GACing of the assembly 
should come later on) and the installutil operation fails because it is not in 
the GAC yet
Are you saying InstallUtil 
requires that assembly to be in the GAC? AFAIK, there's no way to do that. MSI 
doesn't install assemblies destined for the GAC; it hands them off to Fusion, 
which takes care of them. It's an excellent example of why setup should 
be declarative and not dependent on running the same things you're 
installing.-- sig://boBhttp://bobs.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SqlScript and CustomActions

2006-07-12 Thread Michael Osmond
Hello Jaap,

I don't think you can sequence a custom action in between.  The SQL
scripts are all executed by a single custom action themselves.

Can you do your dataload through an slqstring or script instead of via
other custom actions?

Michael

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jaap de
Wolff
Sent: Thursday, 13 July 2006 12:33 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] SqlScript and CustomActions

Hello,

I want to create a database, run an sql script to create tables etc.
then do a few custom actions, which fill the database, and then execute
a few sql strings.
The last sql strings contain values which depend on customer choices.
My question is:
Is there a way of scheduling custom actions between some sql scripts,
and some sql strings?

Jaap





-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action problem

2006-07-12 Thread Rob Mensching
You have a Type 50 CustomAction + Async Wait + Deferred.  That's how you get
1202.  Type 50 just specifies the base.  You can read more about all the
modifiers in the MSI SDK in the CustomAction topic.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Wednesday, July 12, 2006 4:17 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action problem

I'm trying to create a type 50 custom action, when I check the type with
orca it show as a type 1202.  I can't find anything on a type 1202 custom
action.  When I change it to type 50 using orca the install fails, which
leads me to believe I'm doing something wrong.  Here is how I set my
property, and my custom action.  What am I doing wrong?

 









-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom Action problem

2006-07-12 Thread Scott Sam
I'm trying to create a type 50 custom action, when I check the type with
orca it show as a type 1202.  I can't find anything on a type 1202
custom action.  When I change it to type 50 using orca the install
fails, which leads me to believe I'm doing something wrong.  Here is how
I set my property, and my custom action.  What am I doing wrong?

 









-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Condition based on Errors

2006-07-12 Thread Rob Mensching
> I just want to pull of the 'No' button without disablling it for any/all
error dialogs.

I believe the decision of what buttons to show is in the CustomAction code
directly.




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Condition based on Errors

2006-07-12 Thread Michael Cline
I have an issue where I am using the SqlExtension and it is seeing that the 
database exists and if the installer mistakenly clicks 'No' the existing 
database is dropped, losing any/all data that may have been in that 
database. Refer to Item#1212275 in the bug system.

I thought I would be clever and just 'tweak' the errordlg.wxs and try to add 
a condition to disable the 'No' pushbutton control if this error occurred so 
that the user could only click on yes.  I didn't see how the error was 
knowing what buttons to activate in the first place, and tried a lame 
attempt of
Error=26205
That had no effect.  Is there any way to get to the error information as 
part of a condition.  Is there a good reference on how the error stuff works 
to know which buttons it makes visible and not?

I just want to pull of the 'No' button without disablling it for any/all 
error dialogs.

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating msi from merge module fails

2006-07-12 Thread Derek Cicerone
What does the verbose installation log say?  Have you verified that the msi
file is created with files?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arto Stimms
Sent: Wednesday, July 12, 2006 2:00 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Creating msi from merge module fails

Hi,

I am trying to create an .msi file from a single merge
module.

The merge module I am using is the BonjourCore library
from Apple which is available as an .msm file here
http://developer.apple.com/networking/bonjour/BonjourCore-1_0_3.zip
(in the zip file).

Creating the msi file works fine, an the install runs
with no errors, but no files are installed!

Have anybody else encountered a similar problem?

I have attached the .wxs file.

Best Regards,
  Arto Stimms

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Creating msi from merge module fails

2006-07-12 Thread Arto Stimms
Hi,

I am trying to create an .msi file from a single merge
module.

The merge module I am using is the BonjourCore library
from Apple which is available as an .msm file here
http://developer.apple.com/networking/bonjour/BonjourCore-1_0_3.zip
(in the zip file).

Creating the msi file works fine, an the install runs
with no errors, but no files are installed!

Have anybody else encountered a similar problem?

I have attached the .wxs file.

Best Regards,
  Arto Stimms

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

BonjourCore.wxs
Description: 2628951912-BonjourCore.wxs

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Building our own Dialog Library

2006-07-12 Thread Derek Cicerone








We’ve already implemented this functionality
in WiX 3.0 and it’s used in the WiX standard UI library.  Take a
look at WixUI_InstallDir.wxs, WixUI_Mondo.wxs, etc… in the WiX 3.0
sources to see how it works.  Please note that you do not have to use
Property elements as we do in that code currently – that’s merely
an artifact of the old way of customizing a dialog sequence which will be
cleaned up soon.

 

The trick was to support floating  elements so that you can define the connections between dialogs outside
of the dialog definition itself.

 

Derek

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Justin Martenstein
Sent: Wednesday, July 12, 2006
11:46 AM
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] Building our
own Dialog Library



 



As my team is developing a number of installers for similar
products, we end up reusing a lot of dialogs over and over again. The only
thing that changes from one project to the next is the sequence of which
dialogs we use. So far we have simply been copying a "CommonUI.wxs"
file from project to project, and then making the changes in that file that are
relevant to that particular installer.





 





Is there a way to build a dialog "template"
library that isolates the description of the controls away from the behavior of
those controls? I want to describe how the "Next" button in a dialog
looks in my library, but I want to be able change what it actually points to
from one project to the next. I suppose I am looking for some sort of "ControlRef"
entity that can have "Publish" children entities.





 





If this is not feasible in Wix 2.0, are there any plans to
add something similar to Wix 3.0?





 





Justin Martenstein





Harland Financial Solutions





[EMAIL PROTECTED]









-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] The unknown patching question

2006-07-12 Thread Jon Week
After searching through the email archives, I have yet to find any solution 
to similar patching questions that have been asked multiple times.

The patching scenario is as follows:

The product 1.0 is released.

The patch 1.01.msp is released and built against 1.0.

Another patch is needed, 1.02.msp.  This patch is built against 1.0 so it 
would include all of the changes since the original release.  (The plan is 
that 1.02.msp would supercede 1.01.msp and not require 1.01.msp to be 
installed.)

However, if 1.01.msp is already installed, then the installation of 1.02.msp 
will fail with the error:

"The upgrade patch cannot be installed by the Windows Installer service 
because the program to be upgraded may be missing, or the upgrade patch may 
update a different version of the program. Verify that the program to be 
upgraded exists on your computer and that you have the correct upgrade 
patch."

So, as nobody has ever posted a solution to such a problem, is this concept 
of patching not even supported?  Is the only solution to patch against the 
last patch, and thus require multiple patches for the product?

This is a common problem that I can't find an answer for, and this problem 
appears to have also affected Office 2003 SP2.  It would be nice to know how 
they got around the problem for their future releases.  
http://support.microsoft.com/kb/906323

Please cc me on any responses.

Thank you,
Jon



I hope so...

_

From: Shmarya Rubenstein [mailto:[EMAIL PROTECTED]
Sent: 17 May 2006 07:50
To: Simon Topley
Cc: [EMAIL PROTECTED]

Isn't there a btter way to do this?

On 5/15/06, Simon Topley <[EMAIL PROTECTED]
 > wrote:

I did, but the solution I came up with is far from elegant. I ended up
producing a daily patch sequentially (i.e  from the previous days build) and
then automatically adding them to a self extracting exe file (using iexpress
and SED files) which executes a command containing every patch in the file :

msiexec /update a-b.msp;b-c.msp;c-d.msp

It seems to work well, as it will update any version to the latest version
without complaining about trying to update it with an older patch.. So yes I
solved it, but no I'm not happy with it.

Simon.

_

From: Rob Mensching [mailto:[EMAIL PROTECTED]
 ]
Sent: 11 May 2006 21:08
To: 'Simon Topley'; [EMAIL PROTECTED]

Subject: RE: [WiX-users] Patches, Versions, Daily builds, and the fire that
forges us.




Simon, did you get this to work?




_


From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]
 ] On Behalf Of Simon Topley
Sent: Wednesday, April 26, 2006 5:00 AM
To: '[EMAIL PROTECTED]
 '
Subject: [WiX-users] Patches, Versions, Daily builds, and the fire that
forges us.



Hello again eveyone,

I'm still hammering away at these patches and I'm still runing into a few
problem with relation to versions. With each patch I increment the version
number (as is the style so I understand it) this is great for one patch,
however if I try to patch an install that has already been patched it
refuses to work due to the minor version number not being the same as the
the minor version the patch was created for. We have daily builds like most
and our support staff want a way to install each daily build without having
to uninstall the previous version, patches seemed like a good idea. Since it
appeared a patch could be installed on any version as long as it's the same
major release. This maybe easier to put across with a's b's and c's:

Installer a version 1.0 (major release)
Installer b version 1.01 (patch release)
Installer c version 1.01.1 (internal daily build patch)

So I install "a" and patch it with a patch produced from "b", lets call it
"a-b"

a-b patch works fine,

A-c patch fails to install due to minor version mismatch (guids for patch
have been changed and the guid for "a-b" has been added to "ReplacePatch"
section.

If I patch "a" with "a-c" before "a-b" it works fine, if I then patch THAT
with "a-b" it works! How can this be.

So I was annoyed and I produced a "b-c" patch, which does work fine after
installing the "a-b" patch.

I can however use REINSTALLMODE=vomus to force it to ignore the version, but
that kind of defeats the point since people could patch anything with
anything. I could also forced people to install there patches incrementally
"a-b" "b-c" etc, but that seems to defeat the point also..."ReplacePatch"
would seem to be useless.

It seems the rules for these patches are strict but that I must have messed
up somewhere since my patches are all over the place. I want to beable to
install "a" then patch it with "a-z" and for that patch to apply everything
that has changed since the release regardless of what other patches have
been installed, unless they are newer patches.. In which case I want it to
tell me 

[WiX-users] Building our own Dialog Library

2006-07-12 Thread Justin Martenstein



As my team is 
developing a number of installers for similar products, we end up reusing a lot 
of dialogs over and over again. The only thing that changes from one project to 
the next is the sequence of which dialogs we use. So far we have simply been 
copying a "CommonUI.wxs" file from project to project, and then making the 
changes in that file that are relevant to that particular 
installer.
 
Is there a way to 
build a dialog "template" library that isolates the description of the controls 
away from the behavior of those controls? I want to describe how the "Next" 
button in a dialog looks in my library, but I want to be able change what it 
actually points to from one project to the next. I suppose I am looking for some 
sort of "ControlRef" entity that can have "Publish" children 
entities.
 
If this is not 
feasible in Wix 2.0, are there any plans to add something similar to 
Wix 3.0?
 
Justin 
Martenstein
Harland Financial 
Solutions
[EMAIL PROTECTED]

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to set a condition, that prevents custom actions on error

2006-07-12 Thread Markus Libiseller








Greetings from Germany;

 

I would like to ask you for help about a problem I’ve
with my setup-project:
I’ve written a setup, that starts a custom action after the completion of
the setup. In this custom action the client is registered to the server and further
configurations are done. I would like to set a condition that prevents the
execution, if an error happened earlier. Is there a possibility to set a
property and check this as a condition for launching the custom action? And how
is done?

Any help would be great. Thank you very much.

Markus







-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to use the MSBuild Tasks without Visual Studio

2006-07-12 Thread Christian Elberfeld

Bob Arnson schrieb:
> Christian Elberfeld wrote:
>> is it possible to use the wix 3.0/2.0 MSBuild Tasks in a Sharp Develop
>> 2.0 Project ??
>> Cause SharpDevelop uses MSbuild to build the Projects this would be fine.
>>
>> And is it possible to build this Soulution using MSBuild on a build
>> Server without SharpDevelop / Visual Studio ?
>>   
> Yes, you just need .NET 2.0, which is where MSBuild itself is.
> 

.NET 2.0 is no problem, but how can i integrate the wix tasks into msbuild ?

There are some posts about this at this mailing list but i couldn't get it
work with these informations.

Can someone give a short example how to do this ?
Possibly a newbie example because i'm new to msbuild.


Chris


smime.p7s
Description: S/MIME Cryptographic Signature

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WebSites in ComboBox dynamically

2006-07-12 Thread John Hidey
Thanks much.  I'll give it a try Alexei

John


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexei
Boukirev
Sent: Wednesday, July 12, 2006 10:13 AM
To: WiX-users
Subject: Re: [WiX-users] WebSites in ComboBox dynamically

Hello John,

Here's the code I use (assuming that you used the script that populates
site number into combobox value field).  I actually install up to 2
virtual directories on one or two sites per setup (CLIENT and ADMIN
below).  The series of properties is set as a result of these actions.
See below on how I use properties.

ia - internet address, ip - internet port, hn - host name.

-
Option Explicit

Const ERROR_SUCCESS = 0
Const ERROR_INSTALL_FAILURE = 1603
Const ERROR_FUNCTION_FAILED = 1627

Function ParseClient()
  ParseClient = ParseSite("CLIENT")
End Function

Function ParseAdmin()
  ParseAdmin = ParseSite("ADMIN")
End Function

Function ParseSite(prefix)
  Dim objIIS
  Dim sSite, sBinding, sURL
  Dim aBinding
  Dim one, two, ia, ip, hn

  sSite = Session.Property(prefix & "SITE")
  Set objIIS = GetObject("IIS://localhost/W3SVC/" & sSite)
  If Err.Number <> 0 Then
ParseSite = ERROR_INSTALL_FAILURE
Exit Function
  End If
  aBinding = objIIS.ServerBindings
  If IsArray(aBinding) Then
sBinding = aBinding(0)
  Else
sBinding = aBinding
  End If
  Set objIIS = Nothing

  one = Instr(sBinding, ":")
  two = Instr((one + 1), sBinding, ":")

  ia = Mid(sBinding, 1, (one - 1))
  ip = Mid(sBinding, (one + 1), ((two - one) - 1))
  hn = Mid(sBinding, (two + 1))

  If ia = "" Then
 ia = "*"
  End If

  Session.Property(prefix & "IA") = ia
  Session.Property(prefix & "IP") = ip
  Session.Property(prefix & "HN") = hn

  ParseSite = ERROR_SUCCESS
End Function


Using properties:


  
  

  


and

 




Thus the proper port and IP are substituted based on selection.
I schedule the custom action(s) as immediate on Next push button click
in UI.

You can also try using ("http://"; & hn) to set some property and then
use it in Header attribute of WebAddress to differentiate site 2 in your
example.

Hope this helps.

Wednesday, July 12, 2006, 8:00:10 AM, you wrote:

> -All-

>  

> First I would like to thank everyone for the great help and support I 
> got through this mailing list.  The help was great and I got the combo

> box populating with the sites.  Now I have a different problem related

> to websites.

>  

> Let's say I have three sites on my box.  The default site running on 
> port 80 with no host header,  site 1 running on port 81 with no host 
> header and finally site 2 running on port 80 with a host header value 
> of SITE2.

>  

> When I select a site from my combo box and set the values Website 
> element it appears that it is always installing under the default
site.
> How do I handle this properly.  More importantly, how do I handle this

> in  a generic way so that no knowledge of the destination machine is 
> required to do the install.



--
Best regards,
 Alexei Boukirev





-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] SqlScript and CustomActions

2006-07-12 Thread Jaap de Wolff
Hello,

I want to create a database, run an sql script to create tables etc. then do
a few custom actions, which fill the database, and then execute a few sql
strings.
The last sql strings contain values which depend on customer choices.
My question is:
Is there a way of scheduling custom actions between some sql scripts, and
some sql strings?

Jaap




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WebSites in ComboBox dynamically

2006-07-12 Thread Alexei Boukirev
Hello John,

Here's the code I use (assuming that you used the script that
populates site number into combobox value field).  I actually install
up to 2 virtual directories on one or two sites per setup (CLIENT and
ADMIN below).  The series of properties is set as a result of these
actions.  See below on how I use properties.

ia - internet address, ip - internet port, hn - host name.

-
Option Explicit

Const ERROR_SUCCESS = 0
Const ERROR_INSTALL_FAILURE = 1603
Const ERROR_FUNCTION_FAILED = 1627

Function ParseClient()
  ParseClient = ParseSite("CLIENT")
End Function

Function ParseAdmin()
  ParseAdmin = ParseSite("ADMIN")
End Function

Function ParseSite(prefix)
  Dim objIIS
  Dim sSite, sBinding, sURL
  Dim aBinding
  Dim one, two, ia, ip, hn

  sSite = Session.Property(prefix & "SITE")
  Set objIIS = GetObject("IIS://localhost/W3SVC/" & sSite)
  If Err.Number <> 0 Then
ParseSite = ERROR_INSTALL_FAILURE
Exit Function
  End If
  aBinding = objIIS.ServerBindings
  If IsArray(aBinding) Then
sBinding = aBinding(0)
  Else
sBinding = aBinding
  End If
  Set objIIS = Nothing

  one = Instr(sBinding, ":")
  two = Instr((one + 1), sBinding, ":")

  ia = Mid(sBinding, 1, (one - 1))
  ip = Mid(sBinding, (one + 1), ((two - one) - 1))
  hn = Mid(sBinding, (two + 1))

  If ia = "" Then
 ia = "*"
  End If

  Session.Property(prefix & "IA") = ia
  Session.Property(prefix & "IP") = ip
  Session.Property(prefix & "HN") = hn

  ParseSite = ERROR_SUCCESS
End Function


Using properties:


  
  

  


and

 

 


Thus the proper port and IP are substituted based on selection.
I schedule the custom action(s) as immediate on Next push button click
in UI.

You can also try using ("http://"; & hn) to set some property and then
use it in Header attribute of WebAddress to differentiate site 2 in
your example.

Hope this helps.

Wednesday, July 12, 2006, 8:00:10 AM, you wrote:

> -All-

>  

> First I would like to thank everyone for the great help and support I
> got through this mailing list.  The help was great and I got the combo
> box populating with the sites.  Now I have a different problem related
> to websites.

>  

> Let's say I have three sites on my box.  The default site running on
> port 80 with no host header,  site 1 running on port 81 with no host
> header and finally site 2 running on port 80 with a host header value of
> SITE2.

>  

> When I select a site from my combo box and set the values Website
> element it appears that it is always installing under the default site.
> How do I handle this properly.  More importantly, how do I handle this
> in  a generic way so that no knowledge of the destination machine is
> required to do the install.



-- 
Best regards,
 Alexei Boukirev




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] FW: InstallUtil and GACing the same assembly

2006-07-12 Thread Simon Burgess








 

 









From: Simon Burgess [mailto:[EMAIL PROTECTED] 
Sent: 12 July 2006 15:08
To: 'Bob Arnson'
Subject: RE: [WiX-users]
InstallUtil and GACing the same assembly



 

No I’m saying that installutil
should be using the location on the file system that I define in my
 elements and that’s what happens if all my msi is doing
is trying to installutil my dll (see InstallUtilSuccess.txt).However, as soon
as I introduce another  element to install the same dll to the
GAC, then the installutil operation seems to get confused about the location it
should be running installutil (see InstallUtilFail.txt)

 









From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 11 July 2006 23:31
To: Simon Burgess
Cc:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
InstallUtil and GACing the same assembly



 

Simon Burgess wrote: 

And that is what I have tried in my example but for some
reason while the installutil actions are being performed (see
InstallUtilFail.txt) the ‘assemblypath’ value changes from this
location on the file system to a GAC–like location (when as you say the
GACing of the assembly should come later on) and the installutil operation fails
because it is not in the GAC yet

Are you saying
InstallUtil requires that assembly to be in the GAC? AFAIK, there's no way to
do that. MSI doesn't install assemblies destined for the GAC; it hands them off
to Fusion, which takes care of them. 

It's an excellent example of why setup should be declarative and not dependent
on running the same things you're installing.



-- sig://boBhttp://bobs.org





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to use the MSBuild Tasks without Visual Studio

2006-07-12 Thread Bob Arnson
Christian Elberfeld wrote:
> is it possible to use the wix 3.0/2.0 MSBuild Tasks in a Sharp Develop 2.0 
> Project ??
> Cause SharpDevelop uses MSbuild to build the Projects this would be fine.
>
> And is it possible to build this Soulution using MSBuild on a build Server 
> without SharpDevelop / Visual Studio ?
>   
Yes, you just need .NET 2.0, which is where MSBuild itself is.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Assignment agreement and updatesand/or enhancements

2006-07-12 Thread Bob Arnson
Frederik Carlier wrote:
> One thing is the contributor having no intention of trying to get it
> into the project, another thing is the contributor being unable to get
> it into the project because of legal issues.
>   
Neither of which is the same as NAnt-Contrib. And "because of legal 
issues" is the kiss of death.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WebSites in ComboBox dynamically

2006-07-12 Thread david adams
Our solution to this assumes knowledge of the server.

We have our server admins create virtual IP addresses that map to the actual 
machine address.  In this way, we install our websites to Port 80 of the 
virtual IP address with no requirements for host headers.  We just leave the 
"Default Website" connected to the actual IP address.

David Adams
MSN MessengerID: [EMAIL PROTECTED]

>From: "John Hidey" <[EMAIL PROTECTED]>
>To: "WiX-users" 
>Subject: Re: [WiX-users] WebSites in ComboBox dynamically
>Date: Wed, 12 Jul 2006 09:00:10 -0400
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc12-f6.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed, 
>12 Jul 2006 06:00:46 -0700
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 8A293F7D9; Wed, 12 Jul 
>2006 06:00:45 -0700 (PDT)
>Received: from sc8-sf-mx1-b.sourceforge.net 
>([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net 
>with esmtp (Exim 4.43)id 1G0eKS-0003ue-Uhfor 
>wix-users@lists.sourceforge.net; Wed, 12 Jul 2006 06:00:40 -0700
>Received: from mail2.servicelinklp.com 
>([12.169.126.63]helo=pitmxp02.servicelink.com)by mail.sourceforge.net with 
>esmtp (Exim 4.44) id 1G0eKR-0004td-Vufor wix-users@lists.sourceforge.net; 
>Wed, 12 Jul 2006 06:00:36 -0700
>Received: from CLUPITEXC01.servicelink.com ([10.220.1.81]) 
>bypitmxp02.servicelink.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 12 
>Jul 2006 09:03:03 -0400
>X-Message-Info: LsUYwwHHNt0+THxOMAmBn5KeYwEFtOLjSogFBW4bkzw=
>Content-class: urn:content-classes:message
>X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
>X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [WiX-users] WebSites 
>in ComboBox dynamically
>thread-index: AcalKrbdw5tyLB/mRNa6dfsgDd1/bgAh6A2g
>References: 
><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]>
>X-OriginalArrivalTime: 12 Jul 2006 13:03:03.0187 
>(UTC)FILETIME=[8262A630:01C6A5B3]
>X-BeenThere: wix-users@lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "General discussion for Windows Installer XML 
>toolset."
>List-Unsubscribe: 
>,PROTECTED]>
>List-Archive: 
>
>List-Post: 
>List-Help: 
>List-Subscribe: 
>,PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>
>-All-
>
>
>
>First I would like to thank everyone for the great help and support I
>got through this mailing list.  The help was great and I got the combo
>box populating with the sites.  Now I have a different problem related
>to websites.
>
>
>
>Let's say I have three sites on my box.  The default site running on
>port 80 with no host header,  site 1 running on port 81 with no host
>header and finally site 2 running on port 80 with a host header value of
>SITE2.
>
>
>
>When I select a site from my combo box and set the values Website
>element it appears that it is always installing under the default site.
>How do I handle this properly.  More importantly, how do I handle this
>in  a generic way so that no knowledge of the destination machine is
>required to do the install.
>
>
>
>Hope I am describing this properly.
>
>
>
>Thanks again everyone for all the help.  Dana, your script you give me
>was very clean, easy to read and commented well.
>
>
>
>John
>
>
>
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Dana
>Gutride
>Sent: Tuesday, July 11, 2006 4:43 PM
>To: WiX-users
>Subject: Re: [WiX-users] WebSites in ComboBox dynamically
>
>
>
>John:
>
>I'm not 100% sure what is going on there.  My guess is that when the msi
>was generated, there wasn't enough information given it to create the
>combobox table (like listitem entries).  You might need to include
>something in your ui page like this:
>
>
> 
>
>
>You'll need to delete the listitems for that combobox before the ui is
>shown, however, or you'll end up with other problems in your MSI.
>
>I've included a file that I used as a testbed for combobox population.
>As a disclaimer: it is better (as you'll be told many times on this
>list) to use C++ custom actions, and I know there are a few good
>examples of c++ custom actions which populate combo boxes (see
>http://www.tramontana.co.hu/wix/lesson10.php#10.1).
>
>But, to help you diagnose your problem for the time being, take a look
>at the included file, see if you can get that to work, and then build up
>from there.
>
>Dana
>
>On 7/11/06, John Hidey <[EMAIL PROTECTED]> wrote:
>
>Dana,
>
>
>
>I now have the custom action being called within the MSI and it can be
>seen within the log file but I' still getting an error ( The same error
>).  Here is my latest log file.  I have highlighted the line in 

Re: [WiX-users] Examples on installing files to multiple folders/ partitions

2006-07-12 Thread Rafuse Robert
> In an earlier message, you showed a hard-coded Package/@Id attribute. 
> You should always use the question-mark method of specifying 
> the package 
> code -- MSI rules say that every package should have a 
> different package 
> ID. Likely, you still have an older version of the .msi installed, so 
> MSI is running the original package.

Okay, thanks... I was unaware of this method, and ignorant of the
implications of not changing the Package ID.  

> > DEBUG: Error 2723:  Custom action Assign_C_ROOT specifies 
> unsupported 
> > type
> >   
> Can you post the .wxs file that produced this error? It looks 
> like a WiX 
> bug that it let you create an invalid CA type.

Posted below.  

Thanks again for your all your assistance.


http://schemas.microsoft.com/wix/2003/01/wi";>









 

 




 

 




 

 




















_
Bob Rafuse


Important Note: This email and any attachment hereto are confidential and
may contain trade secrets or may be otherwise protected from disclosure. If
you have received it in error you are in notice of this fact. Please notify
us immediately by reply email and then delete this email and any attachment
from your system. Please understand that you are not allowed to copy this
email or any attachment hereto or disclose its contents to any other person.
Thank you.




---
Important Note:

This e-mail message and any attachments are confidential and may be privileged 
or otherwise protected from disclosure. If you are not the intended recipient 
you must not use, copy, disclose or take any action based on this e-mail or any 
information and attachment contained in the message. If you have received this 
e-mail in error, please advise the sender immediately by reply e-mail or 
telephone and delete this message and any attachment from your system.

Thank you.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Examples on installing files tomultiple folders/ partitions

2006-07-12 Thread Rafuse Robert
Martin,

Thanks for the response.

I tried what you suggested and it works like a charm...  I will validate
things in the future before pestering the list.

Thank you Martin & Bob.

_
Bob Rafuse


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Hüser, Martin
> Sent: Wednesday, July 12, 2006 8:35 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Examples on installing files 
> tomultiple folders/ partitions
> 
> 
> Hi,
> if I try your wxs and validate the resulting msi I get
> 
> ICE12 ERROR   CustomAction: Assign_E_ROOT is of type: 115 
> referring to a Directory. Therefore it must come before 
> CostFinalize @ 1000 in Seq Table: InstallExecuteSequence. CA 
> Seq#: 1002
> ICE12 ERROR   CustomAction: Assign_C_ROOT is of type: 115 
> referring to a Directory. Therefore it must come before 
> CostFinalize @ 1000 in Seq Table: InstallExecuteSequence. CA 
> Seq#: 1001
> ICE68 ERROR   Invalid custom action type for action 'Assign_E_ROOT'.
> ICE68 ERROR   Invalid custom action type for action 'Assign_C_ROOT'.
> 
> Try to schedule both custom actions before CostInitialize. 
> That prevents ICE12. Fixing ICE12 is probably enough. 
> However, if you remove Return="ignore" from the custom action 
> element ICE68 is gone, too. Custom action type 51 (set 
> property) does not use that option.
> 
> After that your example works as intended.
> 
> Martin
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:wix-users- 
> > [EMAIL PROTECTED] On Behalf Of Rafuse Robert
> > Sent: Dienstag, 11. Juli 2006 16:40
> > To: 'wix-users@lists.sourceforge.net'
> > Subject: Re: [WiX-users] Examples on installing files tomultiple 
> > folders/ partitions
> > 
> > > You can use custom actions to set target paths to 
> whatever you want. 
> > > Just sequence them after CostFinalize. For the Cursors directory, 
> > > create a Directory element with a name of Cursors under a 
> Directory 
> > > with an Id of WindowsFolder. WindowsFolder is hard-coded 
> and Cursors 
> > > is the "user-defined" one.
> > 
> > Thanks for the reply...
> > 
> > I've tried doing just that but have had no luck.
> > 
> > Below is a simple .wxs file I was using to attempt 
> installing files to 
> > multiple target folders.  The package has 3 text files, file_a.txt, 
> > file_b.txt and file_c.txt.  I want to install file_a.txt 
> into folder 
> > c:\acme, file_b.txt into folder e:\acme and file_c.txt into 
> > c:\windows\cursors.
> > 
> > File_c.txt gets installed in the correct location 
> (thanks!), but both 
> > file_a.txt and file_b.txt get installed to folder 
> c:\root\acme.  I'm 
> > obviously doing something stupid, but I have no idea what...
> > 
> > 
> > http://schemas.microsoft.com/wix/2003/01/wi";>
> >  > Name="Multi-Target Test" Language="1033" Version="1.0.0.0" 
> > Manufacturer="Acme">
> >  > Description="Multi-Target Test Thingy" Comments="No comment" 
> > InstallerVersion="200" Compressed="yes" />
> > 
> >  EmbedCab="yes" />
> > 
> > 
> > 
> > 
> > 
> >  Id="component.c_acme" 
> > Guid="F1D1EF7B-DD2E-49A6-AD82-B5A27BD0823E">
> >  > Name="file_a.txt" LongName="file_a.txt" Vital="yes" 
> src="file_a.txt" 
> > DiskId="1"/>
> > 
> > 
> > 
> > 
> > 
> >  Id="component.e_acme" 
> > Guid="0B0B24F9-A89D-4B34-ACFA-14E4E7B30D5B">
> >  > Name="file_b.txt" LongName="file_b.txt" Vital="yes" 
> src="file_b.txt" 
> > DiskId="1"/>
> > 
> > 
> > 
> > 
> >  > Name="cursors">
> >  > Id="component.windows.cursors" Guid="14DB7F5D-D2BE-4C2B-BCF3- 
> > 4BF2A7921589">
> >  > Name="file_c.txt" LongName="file_c.txt" Vital="yes" 
> src="file_c.txt" 
> > DiskId="1"/>
> > 
> > 
> > 
> > 
> > 
> >  Return="ignore" Execute="immediate" 
> > Property="C_ROOT" Value="c:\" />
> >  Return="ignore" Execute="immediate" 
> > Property="E_ROOT" Value="e:\" />
> > 
> > 
> >  After="CostFinalize">
> >  > After="Assign_C_ROOT">
> > 
> > 
> >  Title="Multi-Target Thingy" 
> > Level="1">
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > The following snippet is extracted from the log file:
> > 
> > Action ended 10:27:20: CostFinalize. Return value 

Re: [WiX-users] Examples on installing files tomultiple folders/ partitions

2006-07-12 Thread Hüser , Martin
Hi,
if I try your wxs and validate the resulting msi I get

ICE12   ERROR   CustomAction: Assign_E_ROOT is of type: 115 referring to a 
Directory. Therefore it must come before CostFinalize @ 1000 in Seq Table: 
InstallExecuteSequence. CA Seq#: 1002
ICE12   ERROR   CustomAction: Assign_C_ROOT is of type: 115 referring to a 
Directory. Therefore it must come before CostFinalize @ 1000 in Seq Table: 
InstallExecuteSequence. CA Seq#: 1001
ICE68   ERROR   Invalid custom action type for action 'Assign_E_ROOT'.
ICE68   ERROR   Invalid custom action type for action 'Assign_C_ROOT'.

Try to schedule both custom actions before CostInitialize. That prevents ICE12. 
Fixing ICE12 is probably enough. However, if you remove Return="ignore" from 
the custom action element ICE68 is gone, too. Custom action type 51 (set 
property) does not use that option.

After that your example works as intended.

Martin



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:wix-users-
> [EMAIL PROTECTED] On Behalf Of Rafuse Robert
> Sent: Dienstag, 11. Juli 2006 16:40
> To: 'wix-users@lists.sourceforge.net'
> Subject: Re: [WiX-users] Examples on installing files tomultiple
> folders/ partitions
> 
> > You can use custom actions to set target paths to whatever you want.
> > Just sequence them after CostFinalize. For the Cursors directory,
> > create a Directory element with a name of Cursors under a Directory
> > with an Id of WindowsFolder. WindowsFolder is hard-coded and Cursors
> > is the "user-defined" one.
> 
> Thanks for the reply...
> 
> I've tried doing just that but have had no luck.
> 
> Below is a simple .wxs file I was using to attempt installing files to
> multiple target folders.  The package has 3 text files, file_a.txt,
> file_b.txt and file_c.txt.  I want to install file_a.txt into folder
> c:\acme, file_b.txt into folder e:\acme and file_c.txt into
> c:\windows\cursors.
> 
> File_c.txt gets installed in the correct location (thanks!), but both
> file_a.txt and file_b.txt get installed to folder c:\root\acme.  I'm
> obviously doing something stupid, but I have no idea what...
> 
> 
> http://schemas.microsoft.com/wix/2003/01/wi";>
>Name="Multi-Target Test" Language="1033" Version="1.0.0.0"
> Manufacturer="Acme">
>Description="Multi-Target Test Thingy" Comments="No comment"
> InstallerVersion="200" Compressed="yes" />
> 
>   
>   
> 
>   
>   
>   
>Guid="F1D1EF7B-DD2E-49A6-AD82-B5A27BD0823E">
>Name="file_a.txt" LongName="file_a.txt" Vital="yes" src="file_a.txt"
> DiskId="1"/>
>   
>   
>   
>   
>   
>Guid="0B0B24F9-A89D-4B34-ACFA-14E4E7B30D5B">
>Name="file_b.txt" LongName="file_b.txt" Vital="yes" src="file_b.txt"
> DiskId="1"/>
>   
>   
>   
>   
>Name="cursors">
>Id="component.windows.cursors" Guid="14DB7F5D-D2BE-4C2B-BCF3-
> 4BF2A7921589">
>Name="file_c.txt" LongName="file_c.txt" Vital="yes" src="file_c.txt"
> DiskId="1"/>
>   
>   
>   
>   
> 
>Execute="immediate" Property="C_ROOT" Value="c:\" />
>Execute="immediate" Property="E_ROOT" Value="e:\" />
> 
>   
>After="CostFinalize">
>After="Assign_C_ROOT">
>   
> 
>   
>   
>   
>   
>   
>   
> 
> 
> The following snippet is extracted from the log file:
> 
> Action ended 10:27:20: CostFinalize. Return value 1.
> MSI (s) (5C:40) [10:27:20:091]: Skipping action: Assign_TARGETDIR
> (condition is false) MSI (s) (5C:40) [10:27:20:091]: Doing action:
> Assign_C_ROOT MSI (s) (5C:40) [10:27:20:091]: Note: 1: 2205 2:  3:
> ActionText Action start 10:27:20: Assign_C_ROOT.
> MSI (s) (5C:40) [10:27:20:091]: Skipping action due to
> msidbCustomActionTypeFirstSequence option.
> Action ended 10:27:20: Assign_C_ROOT. Return value 0.
> MSI (s) (5C:40) [10:27:20:091]: Doing action: Assign_E_ROOT MSI (s)
> (5C:40) [10:27:20:091]: Note: 1: 2205 2:  3: ActionText Action start
> 10:27:20: Assign_E_ROOT.
> MSI (s) (5C:40) [10:27:20:091]: Skipping action due to
> msidbCustomActionTypeFirstSequence option.
> Action ended 10:27:20: Assign_E_ROOT. Return value 0.
> MSI (s) (5C:40) [10:27:20:091]: Doing action: InstallValidate
> 
> This is where I get confused.
> 
> I have 

[WiX-users] How to use the MSBuild Tasks without Visual Studio

2006-07-12 Thread Christian Elberfeld

Hello,

is it possible to use the wix 3.0/2.0 MSBuild Tasks in a Sharp Develop 2.0 
Project ??
Cause SharpDevelop uses MSbuild to build the Projects this would be fine.

And is it possible to build this Soulution using MSBuild on a build Server 
without SharpDevelop / Visual Studio ?


Chris



smime.p7s
Description: S/MIME Cryptographic Signature

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to delete a file(for temp use) after installation

2006-07-12 Thread Sebastian Heid








The  tag seems to be meant
to do this kind of thing. This will include the exe in your msi and allow you
to run it; but it will not install it and hence not require any deleting
afterwards.

 

 

See for example (from the WIX Tutorial) 

 

with

 

 

 Also just found that out, so anybody,
if I got something wrong here pls correct me

 

  Cheers 

 

    Seb

 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Young Yang (Worksoft)
Sent: 12 July 2006 09:19
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] How to delete
a file(for temp use) after installation



 

Hi

 

In  my
wix project, I need a .exe file to do some task, so package it in the msi, so
this .exe file will be deployed with 

Product.
After installation, I don’t need this .exe file, so I use custom action
to delete it, ”del
 .exe”, but it doesn’t work.

Anybody
has any idea? Is there any way that I don’t need install this .exe file
and can still use it during installation.

 

Thank
you very much.

 







-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to delete a file(for temp use) after installation

2006-07-12 Thread Young Yang (Worksoft)








Hi

 

In  my wix project, I need a .exe file to do some task,
so package it in the msi, so this .exe file will be deployed with 

Product. After installation, I don’t need this .exe
file, so I use custom action to delete it, ”del  .exe”, but it
doesn’t work.

Anybody has any idea? Is there any way that I don’t need
install this .exe file and can still use it during installation.

 

Thank you very much.

 







-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Assignment agreement and updatesand/or enhancements

2006-07-12 Thread Frederik Carlier
(Not send to wix-devs; one mailing list should be enough)

> That's not the same thing as NAnt-Contrib. It's one thing if a new
> feature is in incubation. It's another if the contributor has no
> intention of trying to get it into the project.

One thing is the contributor having no intention of trying to get it
into the project, another thing is the contributor being unable to get
it into the project because of legal issues.

I'd say we mainly need something to catch "loose" submissions that are
being made. (The "hey guys, I wrote this cool thing. Use it if you like,
but I'm not going to go through the legal hassle" or "hey guys, I wrote
this cool thing. Use it if you like, but my boss is not going to go
through the legal hassle"-kind of submissions).  If WiX provides such a
place, at least some things like the same license and a central location
could be ensured.

Frederik.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [WiX-devs] Assignment agreement and updatesand/or enhancements

2006-07-12 Thread Bob Arnson




Rob Mensching wrote:

  
  

  
  
  2.  I've
never
found the Apache assignment agreement either but I never looked hard. 
  
  

MSN Search is great...

http://www.apache.org/licenses/

 Contributor License Agreements


The ASF desires that all contributors of ideas, code, or documentation
to the Apache projects complete, sign, and submit (via snailmail or
fax)
an Individual
Contributor License Agreement (CLA)
[PDF form]. The
purpose of this agreement
is to clearly define the terms under which intellectual property
has been contributed to the ASF and thereby allow us to defend the
project should there be a legal dispute regarding the software at
some future time. A signed CLA is required to be on file before an
individual is given commit rights to an ASF project.

Interestingly, they say "desires" and "commit rights," not
"requires" and "submit rights."


-- 
sig://boB
http://bobs.org




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users