Hello,

I try to push a commandline given parameter from my setup to one of my 
mergemodules with a custom action. This parameter should trigger a custom 
action from the mergemodule.

However, in the log, the property for the parameter in main setup is shown and 
set correctly in the msi logfile, the custom action that should pass the 
parameter down to the mergemodule returns "1", but the mergemodule does not 
react as expected.

The commandline used for install: "msiexec.exe /log log.txt /i MySetup.msi 
NOEXESTART=1"

Main Setup has following code for this:

<Property Id="NOEXESTART" Admin="no" Hidden="no" Secure="no" />
<CustomAction Id="NoUserExeStart" 
Property="NOEXESTART.AD9BF3FE-AC74-4A7D-B6E9-74FAAE910CA3" Value="1"/>

<InstallExecuteSequence>
<Custom Action="NoUserExeStart" Before="AppSearch">NOEXESTART</Custom>
</InstallExecuteSequence>

The Mergemodule has follwing code for this:

<Property Id="NOEXESTART " Admin="no" Hidden="no" Secure="no" />
<Custom Action="StartUserExe.Run" After="InstallFinalize">
      <![CDATA[NOT (Installed) AND NOT (NOEXESTART)]]>
</Custom>
<Package
      Id='AD9BF3FE-AC74-4A7D -B6E9-74FAAE910CA3' [...]

What am I doing wrong, why does the mergemodule not react on setting the 
property on the commandline. Any hints welcome

Oliver
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to