Page 1 of 1

Pass compiler vars to .msi

Posted: Mon Mar 16, 2015 6:17 am
by christ23
Hi,

we have got created our standard installXY.exe. Due to changes to policies, we now need to run only .msi packages, no mor .exe files.

In every installer, we have at least one compiler variable "debugmode", whick can be set by our developers for testing. Now, it seems that when we start e.g.

Code: Select all

 c:\temp\installxy.msi debugmode=true
, that the debugmode switch will not be read into the .exe.

Any ideas? Are we doing something wrong? Or can the compiler vars not be passed to the .exe through the .msi?

Re: Pass compiler vars to .msi

Posted: Mon Mar 16, 2015 2:43 pm
by FrancescoT
Dear Christ23,

I suppose you meant, how to pass a SCRIPT variable to a MSI package?

Please have a look at the following discussion.
http://www.installaware.com/forum/viewtopic.php?t=501

Regards