[WiX-users] GUID stability between builds

2007-02-05 Thread Jesper Hogstrom
I have set up a wix script for most of what I need. However, the
remaining section is a subtree where every single file should be
included - and files may be added every now and then. The file structure
contains demo files.
 
An obvious solution is to write wix code to specify all files. 
 
Another to write code for every directory and a script that inject all
files.
 
Thirdly I have considered a script that generates the entire wix code.
The main drawback I see with this one is that the GUIDs will fluctuate
between install builds.
 
To the best of my understanding there is no wix-macro that descends a
folder structure and grabs everything it finds. Is that correct?
 
How important is it to keep GUIDs stable over time for components? Is
the better solution to get to it and simply specify all files manually?
Reason I hesitate is the overspecification required; project files,
build scripts and then wix scripts all need the same set of information.
 
 
--Jesper
-
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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Question about WixUI

2007-02-05 Thread Rob Hamflett
The problem is that you can't set the background of a checkbox control to be 
transparent.  To 
achieve what you want you need to make the checkbox control the same size as 
the checkbox, cutting 
off all the text.  You then need to create a new text control next to the 
checkbox and make it 
transparent.  The main problem here is that the user can't change the check 
state by clicking the 
text as they could before.  Apparently it also confuses screenreaders, if you 
have any customers who 
might require them.

Rob


Aaron Khoo wrote:
 Hi there, we're using Wix to create some simple MSIs for our 
 application. One of the features we're using is the WixUI library, 
 specifically UIRef Id=WixUI_Minimal /. A problem we've encountered 
 is that the background color around the license acceptance textbox is a 
 different color than the background. See attached PNG for an example.
  
 Is there a way to make this checkbox control's background either 
 transparent or a different color through Wix? I haven't been able to 
 find anything through the wix documentation or looking through the wix 
 sources. We're using Wix version 3.0.2301.0.
  
 Thanks,
 Aaron
 
 
 
 
 
 
 -
 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CustomAction

2007-02-05 Thread fiordean dacian

Hi Dhaval,

I'm new here and I have not much experience with WiX, but if my understanding 
is correct, here it goes:

...
CustomAction Id=ActionA .../
CustomAction Id=UndoActionA .../

InstallExecuteSequence

Custom Action=ActionA After=InstallFiles/
Custom Action=UndoActionA After=ActionAREMOVE=ALL/Custom



/InstallExecuteSequence

This will makes sure your 'UndoActionA' custom action is executed only during 
removal.

Hope this helps,
Dacian



- Original Message 
From: Dhaval Patel [EMAIL PROTECTED]
To: wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net
Sent: Friday, February 2, 2007 7:30:06 PM
Subject: [WiX-users] CustomAction

I have been trying to find a post that would sum up how to run a CustomAction 
(to run a batch file) at the end of an installation, and in the same MSI, 
another CustomAction that would run the corresponding undo action from 
another batch file. So the flow would be like:


Step 1) Install files
Step 2) Run batch file for action A
Step 3) Run batch file to undo action A
Step 4) Uninstall files

I have tried hard to find examples and it seems that running a batch file after 
install is straightforward, but what about the uninstallation phase? 
Specifically, what's the Event that I should tie the batch file to so that it 
runs only during uninstallation?


Thanks in advance, folks.

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users







 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html-
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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] IniFile trouble

2007-02-05 Thread Alexander
Good day!

I have a problem using IniFile along with Property.

Below is a piece of XML which generates a error:

?xml version='1.0' encoding='Windows-1252'?

Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'

Product Name='Insulation' Id='F7998B08-BACB-4abd-9ED3-FB97C1E66F73'

Language='1049' Codepage='1251' Version='1.0.0' Manufacturer='CS NN'

UpgradeCode ='8C37F917-1283-48c6-9FCF-2FE6A80BD848'


..
Property Id='PLANTSETTINGSDIR' Value='C:\CEA\Plant-4D'

RegistrySearch Id ='PlantDirRegSearch' Root='HKLM' Key='SOFTWARE\CEA 
Technology\Plant-4D'

Name='Location' Type='directory' /

/Property



... here are lots of Directory

Component Id='Plugin' Guid='7C7F659F-C452-4393-8BD1-92CD01D37F9C'

File Id='PluginDLL' Name='InsulPlugin.dll' DiskId='1'

Source='..\bin\Release\InsulPlugin.dll' Vital='yes'

/File

IniFile Id='Plant4DiniPipeList' Action ='addTag' 
Directory='PLANTSETTINGSDIR' 

Name ='plugins.ini' Section='Pipe' Key ='List' Value ='InsulPlugin' /

/Component

... here are lots of /Directory and other tags

 
This stuff ends up with an error Unresolved reference to symbol 
'Directory:PLANTSETTINGSDIR' in section 
'Product:{F7998B08-BACB-4ABD-9ED3-FB97C1E66F73}'. 
Looks like light.exe doesn't want Directory attribute of IniFile tag to be a 
property, and expects a directory, which seems true because when I use a 
directory (declared in Directory tag) instead of a property in IniFile 
Directory=... light.exe builds a msi without any problem.

Thanks in advance.

-
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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] GUID stability between builds

2007-02-05 Thread Levi Wilson

If by descends a folder structure and...  you mean you want something that
will generate the WiX code for you, then yes.  There is heat.exe that comes
with WiX version 3.

On 2/5/07, Jesper Hogstrom [EMAIL PROTECTED] wrote:


 I have set up a wix script for most of what I need. However, the
remaining section is a subtree where every single file should be included -
and files may be added every now and then. The file structure contains demo
files.

An obvious solution is to write wix code to specify all files.

Another to write code for every directory and a script that inject all
files.

Thirdly I have considered a script that generates the entire wix code. The
main drawback I see with this one is that the GUIDs will fluctuate between
install builds.

To the best of my understanding there is no wix-macro that descends a
folder structure and grabs everything it finds. Is that correct?

How important is it to keep GUIDs stable over time for components? Is the
better solution to get to it and simply specify all files manually? Reason I
hesitate is the overspecification required; project files, build scripts and
then wix scripts all need the same set of information.


--Jesper

-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CustomAction

2007-02-05 Thread fiordean dacian
Hi,

I think Dhaval only wants its UndoActionA executed on removal, and not during 
the installation (otherwise it will immediately undo the effects of ActionA, 
right?)

Recap: ActionA on install (and removal eventually)
UndoActionA on uninstall only

There is indeed a restriction on REMOVE property, your custom action needs to 
be scheduled after InstallValidate:
http://msdn2.microsoft.com/en-us/library/aa368013.aspx

Dacian


- Original Message 
From: Levi Wilson [EMAIL PROTECTED]
To: fiordean dacian [EMAIL PROTECTED]
Cc: WiX-users@lists.sourceforge.net
Sent: Monday, February 5, 2007 3:40:39 PM
Subject: Re: [WiX-users] CustomAction

If you did it that way I think that ActionA would run both on Install AND 
Uninstall.  To get ActionA to run Only in install, you would condition it like 
this:

Custom Action=ActionA After=InstallFilesNOT Installed/Custom !-- Only 
run on Install --

Custom Action=UndoActionA After=RemoveFilesInstalled AND NOT 
REINSTALL/Custom !-- Only run on uninstallation --

Please correct me if I'm wrong.  I think that I read somewhere in one of the 
WiX (or MSI?) newsgroups that you shouldn't use the REMOVE property to 
condition something for uninstallation.  Hope this helps.


On 2/5/07, fiordean dacian 
[EMAIL PROTECTED] wrote:


Hi Dhaval,

I'm new here and I have not much experience with WiX, but if my understanding 
is correct, here it goes:

...

CustomAction Id=ActionA .../
CustomAction Id=UndoActionA .../

InstallExecuteSequence

Custom Action=ActionA After=InstallFiles/

Custom Action=UndoActionA After=ActionAREMOVE=ALL/Custom



/InstallExecuteSequence

This will makes sure your 'UndoActionA' custom action is executed only during 
removal.


Hope this helps,
Dacian



-
 Original Message 
From: Dhaval Patel [EMAIL PROTECTED]
To: 

wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net
Sent: Friday, February 2, 2007 7:30:06 PM

Subject: [WiX-users] CustomAction

I have been trying to find a post that would sum up how to run a CustomAction 
(to run a batch file) at the end of an installation, and in the same MSI, 
another CustomAction that would run the corresponding undo action from 
another batch file. So the flow would be like:


Step 1) Install files
Step 2) Run batch file for action A
Step 3) Run batch file to undo action A
Step 4) Uninstall files

I have tried hard to find examples and it seems that running a batch file after 
install is straightforward, but what about the uninstallation phase? 
Specifically, what's the Event that I should tie the batch file to so that it 
runs only during uninstallation?


Thanks in advance, folks.


-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list


WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users









Finding fabulous fares is fun.


Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list


WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users











 

Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.-
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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CustomAction

2007-02-05 Thread Levi Wilson

The condition:

Installed AND NOT REINSTALL

Would only execute on an Uninstall.

On 2/5/07, fiordean dacian [EMAIL PROTECTED] wrote:


Hi,

I think Dhaval only wants its UndoActionA executed on removal, and not
during the installation (otherwise it will immediately undo the effects of
ActionA, right?)

Recap: ActionA on install (and removal eventually)
   UndoActionA on uninstall only

There is indeed a restriction on REMOVE property, your custom action needs
to be scheduled after InstallValidate:
http://msdn2.microsoft.com/en-us/library/aa368013.aspx

Dacian


- Original Message 
From: Levi Wilson [EMAIL PROTECTED]
To: fiordean dacian [EMAIL PROTECTED]
Cc: WiX-users@lists.sourceforge.net
Sent: Monday, February 5, 2007 3:40:39 PM
Subject: Re: [WiX-users] CustomAction

If you did it that way I think that ActionA would run both on Install AND
Uninstall.  To get ActionA to run Only in install, you would condition it
like this:

Custom Action=ActionA After=InstallFilesNOT Installed/Custom !--
Only run on Install --
Custom Action=UndoActionA After=RemoveFilesInstalled AND NOT
REINSTALL/Custom !-- Only run on uninstallation --

Please correct me if I'm wrong.  I think that I read somewhere in one of
the WiX (or MSI?) newsgroups that you shouldn't use the REMOVE property to
condition something for uninstallation.  Hope this helps.

On 2/5/07, fiordean dacian  [EMAIL PROTECTED] wrote:


 Hi Dhaval,

 I'm new here and I have not much experience with WiX, but if my
 understanding is correct, here it goes:

 ...
 CustomAction Id=ActionA .../
 CustomAction Id=UndoActionA .../

 InstallExecuteSequence

 Custom Action=ActionA After=InstallFiles/
 Custom Action=UndoActionA After=ActionAREMOVE=ALL/Custom

 

 /InstallExecuteSequence

 This will makes sure your 'UndoActionA' custom action is executed only
 during removal.

 Hope this helps,
 Dacian



 - Original Message 
 From: Dhaval Patel [EMAIL PROTECTED]
 To:  wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net
 Sent: Friday, February 2, 2007 7:30:06 PM
 Subject: [WiX-users] CustomAction

 I have been trying to find a post that would sum up how to run a
 CustomAction (to run a batch file) at the end of an installation, and in the
 same MSI, another CustomAction that would run the corresponding undo
 action from another batch file. So the flow would be like:

 Step 1) Install files
 Step 2) Run batch file for action A
 Step 3) Run batch file to undo action A
 Step 4) Uninstall files

 I have tried hard to find examples and it seems that running a batch
 file after install is straightforward, but what about the uninstallation
 phase? Specifically, what's the Event that I should tie the batch file to so
 that it runs only during uninstallation?

 Thanks in advance, folks.

 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 --
 Finding fabulous fares is fun.
 Let Yahoo! FareChase search your favorite travel 
siteshttp://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--%0Ato
 find flight and hotel bargains.


 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
Need a quick answer? Get one in minutes from people who know. Ask your
question on Yahoo! 
Answershttp://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx
.

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



Re: [WiX-users] CustomAction

2007-02-05 Thread fiordean dacian

You're right, I didn't see the 'entire' condition you propose for UndoActionA 
(I saw only INSTALLED part of it :))

Dacian


- Original Message 
From: Levi Wilson [EMAIL PROTECTED]
To: fiordean dacian [EMAIL PROTECTED]
Cc: WiX-users@lists.sourceforge.net
Sent: Monday, February 5, 2007 4:14:19 PM
Subject: Re: [WiX-users] CustomAction

The condition:

Installed AND NOT REINSTALL

Would only execute on an Uninstall.

On 2/5/07, fiordean dacian 
[EMAIL PROTECTED] wrote:
Hi,

I think Dhaval only wants its UndoActionA executed on removal, and not during 
the installation (otherwise it will immediately undo the effects of ActionA, 
right?)


Recap: ActionA on install (and removal eventually)
UndoActionA on uninstall only

There is indeed a restriction on REMOVE property, your custom action needs to 
be scheduled after InstallValidate:

http://msdn2.microsoft.com/en-us/library/aa368013.aspx

Dacian



- Original Message 
From: Levi Wilson
 [EMAIL PROTECTED]
To: fiordean dacian 
[EMAIL PROTECTED]
Cc: WiX-users@lists.sourceforge.net
Sent: Monday, February 5, 2007 3:40:39 PM

Subject: Re: [WiX-users] CustomAction

If you did it that way I think that ActionA would run both on Install AND 
Uninstall.  To get ActionA to run Only in install, you would condition it like 
this:

Custom Action=ActionA After=InstallFilesNOT Installed/Custom !-- Only 
run on Install --

Custom Action=UndoActionA After=RemoveFilesInstalled AND NOT 
REINSTALL/Custom !-- Only run on uninstallation --

Please correct me if I'm wrong.  I think that I read somewhere in one of the 
WiX (or MSI?) newsgroups that you shouldn't use the REMOVE property to 
condition something for uninstallation.  Hope this helps.


On 2/5/07, fiordean dacian 

[EMAIL PROTECTED] wrote:



Hi Dhaval,

I'm new here and I have not much experience with WiX, but if my understanding 
is correct, here it goes:

...

CustomAction Id=ActionA .../
CustomAction Id=UndoActionA .../

InstallExecuteSequence

Custom Action=ActionA After=InstallFiles/

Custom Action=UndoActionA After=ActionAREMOVE=ALL/Custom



/InstallExecuteSequence

This will makes sure your 'UndoActionA' custom action is executed only during 
removal.


Hope this helps,
Dacian



-
 Original Message 
From: Dhaval Patel [EMAIL PROTECTED]
To: 


wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net

Sent: Friday, February 2, 2007 7:30:06 PM

Subject: [WiX-users] CustomAction

I have been trying to find a post that would sum up how to run a CustomAction 
(to run a batch file) at the end of an installation, and in the same MSI, 
another CustomAction that would run the corresponding undo action from 
another batch file. So the flow would be like:


Step 1) Install files
Step 2) Run batch file for action A
Step 3) Run batch file to undo action A
Step 4) Uninstall files

I have tried hard to find examples and it seems that running a batch file after 
install is straightforward, but what about the uninstallation phase? 
Specifically, what's the Event that I should tie the batch file to so that it 
runs only during uninstallation?


Thanks in advance, folks.


-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list



WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users









Finding fabulous fares is fun.



Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list



WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users













Need a quick answer? Get one in minutes from people who know. Ask your question 
on
 Yahoo! Answers
.

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list

WiX-users@lists.sourceforge.net

[WiX-users] Install Sequence

2007-02-05 Thread Ian Couper
Someone else posted something along these lines a few days ago but
didn't get any response, so I thought I'd post again...

 

I've got a script that I trigger to run during my install and I'd like
to have the MSI check if there was a file created by that script. If the
file exists I'd like it to trigger a rollback. My issue is that the
Property function that I'm using to check for that file runs at the
beginning of the install before my script runs. Is there any way of
modifying the sequence so that it checks for the file after my script
has run?

 

Thanks

-
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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride

At that point during the install, any file searches have already completed.
You'd have to write a second custom action to search for the file, schedule
it to run after the first one and then return an error triggering rollback
if it finds it.

Wouldn't it be easier to just have the first custom action exit with a
failure (triggering the rollback) after it performs the actions that would
create the file?

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:


 Someone else posted something along these lines a few days ago but didn't
get any response, so I thought I'd post again…



I've got a script that I trigger to run during my install and I'd like to
have the MSI check if there was a file created by that script. If the file
exists I'd like it to trigger a rollback. My issue is that the Property
function that I'm using to check for that file runs at the beginning of the
install before my script runs. Is there any way of modifying the sequence so
that it checks for the file after my script has run?



Thanks

-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CustomAction

2007-02-05 Thread Dhaval Patel

Thanks so much for the replies, guys! Great help!! By the way, Levi was
correct to assume that I want to run the batch file only on uninstall :).

Thanks again, both of you!


On 2/5/07, Levi Wilson [EMAIL PROTECTED] wrote:


The condition:

Installed AND NOT REINSTALL

Would only execute on an Uninstall.

On 2/5/07, fiordean dacian  [EMAIL PROTECTED] wrote:

 Hi,

 I think Dhaval only wants its UndoActionA executed on removal, and not
 during the installation (otherwise it will immediately undo the effects of
 ActionA, right?)

 Recap: ActionA on install (and removal eventually)
UndoActionA on uninstall only

 There is indeed a restriction on REMOVE property, your custom action
 needs to be scheduled after InstallValidate:
 http://msdn2.microsoft.com/en-us/library/aa368013.aspx

 Dacian


 - Original Message 
 From: Levi Wilson [EMAIL PROTECTED]
 To: fiordean dacian  [EMAIL PROTECTED]
 Cc: WiX-users@lists.sourceforge.net
 Sent: Monday, February 5, 2007 3:40:39 PM
 Subject: Re: [WiX-users] CustomAction

 If you did it that way I think that ActionA would run both on Install
 AND Uninstall.  To get ActionA to run Only in install, you would condition
 it like this:

 Custom Action=ActionA After=InstallFilesNOT Installed/Custom
 !-- Only run on Install --
 Custom Action=UndoActionA After=RemoveFilesInstalled AND NOT
 REINSTALL/Custom !-- Only run on uninstallation --

 Please correct me if I'm wrong.  I think that I read somewhere in one of
 the WiX (or MSI?) newsgroups that you shouldn't use the REMOVE property to
 condition something for uninstallation.  Hope this helps.

 On 2/5/07, fiordean dacian  [EMAIL PROTECTED] wrote:
 
 
  Hi Dhaval,
 
  I'm new here and I have not much experience with WiX, but if my
  understanding is correct, here it goes:
 
  ...
  CustomAction Id=ActionA .../
  CustomAction Id=UndoActionA .../
 
  InstallExecuteSequence
 
  Custom Action=ActionA After=InstallFiles/
  Custom Action=UndoActionA After=ActionAREMOVE=ALL/Custom
 
  
 
  /InstallExecuteSequence
 
  This will makes sure your 'UndoActionA' custom action is executed only
  during removal.
 
  Hope this helps,
  Dacian
 
 
 
  - Original Message 
  From: Dhaval Patel [EMAIL PROTECTED]
  To:  wix-users@lists.sourceforge.net 
  wix-users@lists.sourceforge.net
  Sent: Friday, February 2, 2007 7:30:06 PM
  Subject: [WiX-users] CustomAction
 
  I have been trying to find a post that would sum up how to run a
  CustomAction (to run a batch file) at the end of an installation, and in the
  same MSI, another CustomAction that would run the corresponding undo
  action from another batch file. So the flow would be like:
 
  Step 1) Install files
  Step 2) Run batch file for action A
  Step 3) Run batch file to undo action A
  Step 4) Uninstall files
 
  I have tried hard to find examples and it seems that running a batch
  file after install is straightforward, but what about the uninstallation
  phase? Specifically, what's the Event that I should tie the batch file to so
  that it runs only during uninstallation?
 
  Thanks in advance, folks.
 
  -
  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=lnkkid=120709bid=263057dat=121642
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
  --
  Finding fabulous fares is fun.
  Let Yahoo! FareChase search your favorite travel 
siteshttp://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--%0Ato
 find flight and hotel bargains.
 
 
  -
  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=lnkkid=120709bid=263057dat=121642
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 


 --
 Need a quick answer? Get one in minutes from people who know. Ask your
 question on Yahoo! Answers
 
http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx
 .


 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with 

Re: [WiX-users] Install Sequence

2007-02-05 Thread Ian Couper
Dana,

 

Yes that would be easier to have the custom action exit with a failure.
How do you accomplish that? Specifically having it receive a value from
the script and triggering the rollback based on that response.

 

Ian.

 

PS. Could you reply to me directly as well as to the Mailing list? Makes
things much easier, Thanks!

 

-

 

At that point during the install, any file searches have already
completed. You'd have to write a second custom action to search for the
file, schedule it to run after the first one and then return an error
triggering rollback if it finds it.

Wouldn't it be easier to just have the first custom action exit with a
failure (triggering the rollback) after it performs the actions that
would create the file?

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:

 Someone else posted something along these lines a few days ago but
didn't
 get any response, so I thought I'd post again...



 I've got a script that I trigger to run during my install and I'd like
to
 have the MSI check if there was a file created by that script. If the
file
 exists I'd like it to trigger a rollback. My issue is that the
Property
 function that I'm using to check for that file runs at the beginning
of the
 install before my script runs. Is there any way of modifying the
sequence so
 that it checks for the file after my script has run?



 Thanks



-

-
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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Browse Property

2007-02-05 Thread Magus

I have already make a custom setup dialog before, but now I am suppose to
make a dialog that only lets you select the install directory, without the
selection tree.  I have only 1 configurable directory.  What Event name and
value to I use to achieve this purpose.  Does anyone have an example of this
in WIX?   No tree just a browse button and a text box displaying the
directoy it is installing to.
-- 
View this message in context: 
http://www.nabble.com/Browse-Property-tf3176127.html#a8812285
Sent from the wix-users mailing list archive at Nabble.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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride

If it's a c++ custom action, return ERROR_INSTALL_FAILURE instead of
ERROR_SUCCESS.  If it's a script-based action, returning 3 instead of 0 will
have the same result.  In your WiX files, make sure you have set the custom
action to check it's return code instead of ignoring it.  Take a look at
this page for more info:
http://msdn2.microsoft.com/en-us/library/aa371254.aspx

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:


 Dana,



Yes that would be easier to have the custom action exit with a failure.
How do you accomplish that? Specifically having it receive a value from the
script and triggering the rollback based on that response.



Ian.



PS. Could you reply to me directly as well as to the Mailing list? Makes
things much easier, Thanks!



-



At that point during the install, any file searches have already
completed. You'd have to write a second custom action to search for the
file, schedule it to run after the first one and then return an error
triggering rollback if it finds it.

Wouldn't it be easier to just have the first custom action exit with a
failure (triggering the rollback) after it performs the actions that would
create the file?

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:

 Someone else posted something along these lines a few days ago but
didn't
 get any response, so I thought I'd post again…



 I've got a script that I trigger to run during my install and I'd like
to
 have the MSI check if there was a file created by that script. If the
file
 exists I'd like it to trigger a rollback. My issue is that the Property
 function that I'm using to check for that file runs at the beginning of
the
 install before my script runs. Is there any way of modifying the
sequence so
 that it checks for the file after my script has run?



 Thanks


-

-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Extra localization files

2007-02-05 Thread Jim Hewes
I have the same question, since I need French and Italian. I've been
watching the status of French for a long time and it's been at finished
for as long as I can remember. Presumably it only needs a signature to go
from finished to released. I wonder what can be done to nudge that
process. For Italian, I think I may be able to get my company to have that
one done. It's the only thing preventing us from using WiX. I guess I'm a
little surprised that more people don't need multiple languages so much. Or
maybe they have them translated on their own, I don't know.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Robertson
Sent: Sunday, February 04, 2007 11:57 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Extra localization files


The list of Wix localizations has a fairly large number that are listed as
complete
and that presumably should then be available with the Wix project files. But
they
don't seem to be there, only English, Dutch, German and Spanish? Are the
other files available elsewhere? Specifically I'm looking for French,
Finnish and
Norwegian versions. Thanks in advance for any pointers.
-- 
View this message in context:
http://www.nabble.com/Extra-localization-files-tf3171079.html#a8796569
Sent from the wix-users mailing list archive at Nabble.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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install Sequence

2007-02-05 Thread Ian Couper
The custom action is actually running a custom build C# application...

 



From: Dana Gutride [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 05, 2007 2:33 PM
To: Ian Couper; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Install Sequence

 

If it's a c++ custom action, return ERROR_INSTALL_FAILURE instead of
ERROR_SUCCESS.  If it's a script-based action, returning 3 instead of 0
will have the same result.  In your WiX files, make sure you have set
the custom action to check it's return code instead of ignoring it.
Take a look at this page for more info:
http://msdn2.microsoft.com/en-us/library/aa371254.aspx

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:

Dana,

 

Yes that would be easier to have the custom action exit with a failure.
How do you accomplish that? Specifically having it receive a value from
the script and triggering the rollback based on that response.

 

Ian.

 

PS. Could you reply to me directly as well as to the Mailing list? Makes
things much easier, Thanks!

 

-

 

At that point during the install, any file searches have already
completed. You'd have to write a second custom action to search for the
file, schedule it to run after the first one and then return an error
triggering rollback if it finds it.

Wouldn't it be easier to just have the first custom action exit with a
failure (triggering the rollback) after it performs the actions that
would create the file?

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:

 Someone else posted something along these lines a few days ago but
didn't
 get any response, so I thought I'd post again...



 I've got a script that I trigger to run during my install and I'd like
to
 have the MSI check if there was a file created by that script. If the
file
 exists I'd like it to trigger a rollback. My issue is that the
Property
 function that I'm using to check for that file runs at the beginning
of the
 install before my script runs. Is there any way of modifying the
sequence so
 that it checks for the file after my script has run?



 Thanks



-



-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Determine selected features from tree

2007-02-05 Thread Nick Hennemann
New to Wix

 

I see how to set the 'level' attribute to determine whether the item is
to be enabled or disabled by default in the feature tree.  I have two
features in my feature tree and I want to be able to kick of different
custom actions based on what features the end user selects during the
install.  I'm sure there is an easy way to determine what items the user
selected, but have failed to locate it thus far.  Any help would be
appreciated.

 

Thanks.

NOTICE: This electronic mail message and any files transmitted with it are 
intended exclusively
for the individual or entity to which it is addressed. The message, together 
with any attachment, may contain confidential and/or privileged
information. Any unauthorized review, use, printing, saving, copying, 
disclosure 
or distribution is strictly prohibited. If you have received this message in 
error, please immediately
advise the sender by reply email and delete all copies.
-
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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] x86 and x64 in same wxs / msi ?

2007-02-05 Thread Robert Randall

The answer to this may be obvious, but I can't seem to find any direction on
how to support multiple target OSes from the same package; say x86 and x64
(AMD64) versions.

My hunch is there is a simple answer but I've not been able to find a sample
project or How-To for this.  

Would one of the experts please advise on how to best handle this?  I have
two separate and nearly identical packages now that produce two .msi files.
One for x86 and one for x64.  I would prefer to have a single package (less
room for mistakes that way).

Thanks.

Robert Randall



-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride

Is it an executable or did you manage to successfully call into a C# dll
from the msi?

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:


 The custom action is actually running a custom build C# application…


 --

*From:* Dana Gutride [mailto:[EMAIL PROTECTED]
*Sent:* Monday, February 05, 2007 2:33 PM
*To:* Ian Couper; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Install Sequence



If it's a c++ custom action, return ERROR_INSTALL_FAILURE instead of
ERROR_SUCCESS.  If it's a script-based action, returning 3 instead of 0 will
have the same result.  In your WiX files, make sure you have set the custom
action to check it's return code instead of ignoring it.  Take a look at
this page for more info:
http://msdn2.microsoft.com/en-us/library/aa371254.aspx

Dana

On 2/5/07, *Ian Couper *[EMAIL PROTECTED] wrote:

Dana,



Yes that would be easier to have the custom action exit with a failure.
How do you accomplish that? Specifically having it receive a value from the
script and triggering the rollback based on that response.



Ian.



PS. Could you reply to me directly as well as to the Mailing list? Makes
things much easier, Thanks!



-



At that point during the install, any file searches have already
completed. You'd have to write a second custom action to search for the
file, schedule it to run after the first one and then return an error
triggering rollback if it finds it.

Wouldn't it be easier to just have the first custom action exit with a
failure (triggering the rollback) after it performs the actions that would
create the file?

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:

 Someone else posted something along these lines a few days ago but
didn't
 get any response, so I thought I'd post again…



 I've got a script that I trigger to run during my install and I'd like
to
 have the MSI check if there was a file created by that script. If the
file
 exists I'd like it to trigger a rollback. My issue is that the Property
 function that I'm using to check for that file runs at the beginning of
the
 install before my script runs. Is there any way of modifying the
sequence so
 that it checks for the file after my script has run?



 Thanks


-


-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Certificate install issue

2007-02-05 Thread Shaun Wilde
Do you know how old is older? The version I am using is 2.0.4820.0


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: Thu, 1 Feb 2007 
13:46:13 -0800Subject: RE: [WiX-users] Certificate install issue






That’s a bug in an older build.  Should be fixed in later WiX v2 builds.
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaun WildeSent: 
Thursday, February 01, 2007 3:37 AMTo: [EMAIL PROTECTED]: [WiX-users] 
Certificate install issue
 
 Been trying to install a certificate from the Binary / and getting the 
following errors AddUserCertificate:  Error 0x8000: failed to decode string 
into streamAddUserCertificate:  Error 0x8000: Failed to parse certficate 
stream.AddUserCertificate:  Error 0x8000: Failed to install per-user 
certificate. However what concerns me more is the following on rollback 
DeleteUserCertificate:  Deleting certificate with friendly name: 
MyCertDeleteUserCertificate:  Failed to delete certificate with friendly name: 
thawte, continuing anyway.Why is it trying to remove the thawte certificate? I 
never tried to install one - my certificate is a root cert (self-signed).  Is 
this some hard coded cert? surely the installer should not be trying to 
uninstall more than it installed. Shaun  



Live Search: New search found Try it!
_
Live Search: New search found
http://get.live.com/search/overview-
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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install Sequence

2007-02-05 Thread Ian Couper
No it's an executable. I've tried c++ and VB scripts but they won't work
properly for what I need.

 



From: Dana Gutride [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 05, 2007 3:43 PM
To: Ian Couper; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Install Sequence

 

Is it an executable or did you manage to successfully call into a C# dll
from the msi?

Dana

On 2/5/07, Ian Couper  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

The custom action is actually running a custom build C# application...

 



From: Dana Gutride [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 05, 2007 2:33 PM
To: Ian Couper; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Install Sequence

 

If it's a c++ custom action, return ERROR_INSTALL_FAILURE instead of
ERROR_SUCCESS.  If it's a script-based action, returning 3 instead of 0
will have the same result.  In your WiX files, make sure you have set
the custom action to check it's return code instead of ignoring it.
Take a look at this page for more info:
http://msdn2.microsoft.com/en-us/library/aa371254.aspx

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:

Dana,

 

Yes that would be easier to have the custom action exit with a failure.
How do you accomplish that? Specifically having it receive a value from
the script and triggering the rollback based on that response.

 

Ian.

 

PS. Could you reply to me directly as well as to the Mailing list? Makes
things much easier, Thanks!

 

-

 

At that point during the install, any file searches have already
completed. You'd have to write a second custom action to search for the
file, schedule it to run after the first one and then return an error
triggering rollback if it finds it.

Wouldn't it be easier to just have the first custom action exit with a
failure (triggering the rollback) after it performs the actions that
would create the file?

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:

 Someone else posted something along these lines a few days ago but
didn't
 get any response, so I thought I'd post again...



 I've got a script that I trigger to run during my install and I'd like
to
 have the MSI check if there was a file created by that script. If the
file
 exists I'd like it to trigger a rollback. My issue is that the
Property
 function that I'm using to check for that file runs at the beginning
of the
 install before my script runs. Is there any way of modifying the
sequence so
 that it checks for the file after my script has run?



 Thanks



-



-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] FW: Granting Permissions to Log on as a Service through ServiceInstall

2007-02-05 Thread Zac Emmel
(Fwd'ing to the updated contact address)

From: Zac Emmel
Sent: Monday, February 05, 2007 1:13 PM
To: Windows Installer XML
Subject: Granting Permissions to Log on as a Service through ServiceInstall

Hi all -

I believe robmen recently added the capability to grant 'log on as a service' 
permissions for the ServiceInstall - but I'm not sure where to specify this 
(nothing stood out to me in the schema posted on source forge).

Since Rob is OOF right now, anyone have an idea?

Thanks,
Zac
-
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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride

I'd read this link:  http://msdn2.microsoft.com/en-us/library/aa368085.aspx.
Can you return something other than a zero from your executable?  Also, are
you sure you can't do what you need to do in c++?



On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:


 No it's an executable. I've tried c++ and VB scripts but they won't work
properly for what I need.


 --

*From:* Dana Gutride [mailto:[EMAIL PROTECTED]
*Sent:* Monday, February 05, 2007 3:43 PM
*To:* Ian Couper; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Install Sequence



Is it an executable or did you manage to successfully call into a C# dll
from the msi?

Dana

On 2/5/07, *Ian Couper*  [EMAIL PROTECTED] wrote:

The custom action is actually running a custom build C# application…


 --

*From:* Dana Gutride [mailto:[EMAIL PROTECTED]
*Sent:* Monday, February 05, 2007 2:33 PM
*To:* Ian Couper; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Install Sequence



If it's a c++ custom action, return ERROR_INSTALL_FAILURE instead of
ERROR_SUCCESS.  If it's a script-based action, returning 3 instead of 0 will
have the same result.  In your WiX files, make sure you have set the custom
action to check it's return code instead of ignoring it.  Take a look at
this page for more info:
http://msdn2.microsoft.com/en-us/library/aa371254.aspx

Dana

On 2/5/07, *Ian Couper *[EMAIL PROTECTED] wrote:

Dana,



Yes that would be easier to have the custom action exit with a failure.
How do you accomplish that? Specifically having it receive a value from the
script and triggering the rollback based on that response.



Ian.



PS. Could you reply to me directly as well as to the Mailing list? Makes
things much easier, Thanks!



-



At that point during the install, any file searches have already
completed. You'd have to write a second custom action to search for the
file, schedule it to run after the first one and then return an error
triggering rollback if it finds it.

Wouldn't it be easier to just have the first custom action exit with a
failure (triggering the rollback) after it performs the actions that would
create the file?

Dana

On 2/5/07, Ian Couper [EMAIL PROTECTED] wrote:

 Someone else posted something along these lines a few days ago but
didn't
 get any response, so I thought I'd post again…



 I've got a script that I trigger to run during my install and I'd like
to
 have the MSI check if there was a file created by that script. If the
file
 exists I'd like it to trigger a rollback. My issue is that the Property
 function that I'm using to check for that file runs at the beginning of
the
 install before my script runs. Is there any way of modifying the
sequence so
 that it checks for the file after my script has run?



 Thanks


-


-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] x86 and x64 in same wxs / msi ?

2007-02-05 Thread Matthew Rowan

Hi Robert,

What I have done is just setup conditions on the platform specific
components to install or not dependent on the operating system.

eg.

Component Id=Comp DiskId=1 Guid=x-3FD7-4DB0-9BBC-2FDF305DE466
!-- Do not install on 64-Bit Windows --
ConditionNOT VersionNT64/Condition
File Id=file1.dll Source=..\file1.dll /
/Component

Regards,

-Matthew Rowan

On 2/6/07, Robert Randall [EMAIL PROTECTED]  wrote:



The answer to this may be obvious, but I can't seem to find any direction
on
how to support multiple target OSes from the same package; say x86 and x64
(AMD64) versions.

My hunch is there is a simple answer but I've not been able to find a
sample
project or How-To for this.

Would one of the experts please advise on how to best handle this?  I have
two separate and nearly identical packages now that produce two .msi
files.
One for x86 and one for x64.  I would prefer to have a single package
(less
room for mistakes that way).

Thanks.

Robert Randall



-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users