This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Executemode
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 21, 2008
04:45 AM
Executemode
I've created a basic msi installer. It has a custom action which calls an installscript function. I understand that you can check for EXECUTEMODE to determine whether you are running in 'Test Release' mode (If I'm running in this mode I want to avoid calling a particular function).
http://community.macrovision.com/showthread.php?t=95690&highlight=test+Test+Release+mode
When I try and incorporate EXECUTEMODE in my function I get errors - 'EXECUTEMODE' : undefined identifier. Anyone care to tell me where I'm going wrong/share the right syntax with me?
Thanks
http://community.macrovision.com/showthread.php?t=95690&highlight=test+Test+Release+mode
When I try and incorporate EXECUTEMODE in my function I get errors - 'EXECUTEMODE' : undefined identifier. Anyone care to tell me where I'm going wrong/share the right syntax with me?
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 21, 2008
08:30 AM
EXECUTEMODE is an MSI property and not an InstallScript variable, so you'll want to call MsiGetProperty to get the value from InstallScript. Naturally, you can use EXECUTEMODE in a condition on the action to skip it during test mode, and any deferred action in the Execute sequence will be skipped during test mode.