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

2009-10-26 Thread Blair
Giambalvo [mailto:danie...@microsoft.com] Sent: Friday, October 23, 2009 7:36 PM To: General 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

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

2009-10-23 Thread Dan Giambalvo
Our installer has some UI which requests and validates a product key from the user during InstallUISequence. I want to add an additional checks so that if some clever user tries to silently install our msi to bypass the UI (and hence the validation UI) that they install will fail. I have a

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

2009-10-23 Thread Blair
Giambalvo [mailto:danie...@microsoft.com] Sent: Friday, October 23, 2009 12:37 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Blocking install if property isn't set Our installer has some UI which requests and validates a product key from the user during InstallUISequence. I want to add

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

2009-10-23 Thread Dan Giambalvo
: 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 InstallExecuteSequence (so it runs up to twice). Make

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

2009-10-23 Thread Blair
] 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 similarly defeat the purpose

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

2009-10-23 Thread Dan Giambalvo
, 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 silently your UI never runs anyway