Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 3


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).

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?

Labels (1)
0 Kudos
1 Reply
Flexera Alumni

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.
0 Kudos