Re: [WiX-users] Blocking install if property isn't set

2009-10-26 Thread Blair
eral discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Blocking install if property isn't set So he problem here is that the CustomAction cannot be allowed to run twice. It actually connects to a server, and decrements a server-side count. So, we only want to do that o

Re: [WiX-users] Blocking install if property isn't set

2009-10-23 Thread Dan Giambalvo
] Sent: Friday, October 23, 2009 6:06 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Blocking install if property isn't set You still validate it and fail the install if it doesn't pass that validation. If someone runs the MSI sile

Re: [WiX-users] Blocking install if property isn't set

2009-10-23 Thread Blair
t.com] Sent: Friday, October 23, 2009 5:32 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Blocking install if property isn't set If I make it public, can't someone just pass it in from the command line then? Doesn't that similarl

Re: [WiX-users] Blocking install if property isn't set

2009-10-23 Thread Dan Giambalvo
olset.' Subject: Re: [WiX-users] Blocking install if property isn't set If you have a custom action that validates your property and returns failure if it doesn't validate, run that custom action as Execute="immediate" and schedule it in both InstallUISequence AND Instal

Re: [WiX-users] Blocking install if property isn't set

2009-10-23 Thread Blair
If you have a custom action that validates your property and returns failure if it doesn't validate, run that custom action as Execute="immediate" and schedule it in both InstallUISequence AND InstallExecuteSequence (so it runs up to twice). Make sure that the property you check is a "secure" prope