Hi,

more to do, more problems show up...

1. Setting property in merged module at runtime.

In the setup I use a merge module, where a custom action is triggered via a 
property. This property shall be entered to the setup as a command line switch 
like:

[code]
msiexec.exe /I setup.msi NOEXESTART=1
[/code]

In my setup.wxs are those lines, that put this switch through to the 
mergemodule, well at last they should :-/
[code]
<Property Id="NOUSEREXE" Admin="no" Hidden="no" Secure="no" />
<CustomAction Id="NoUserExeStart" 
Property="NOUSEREXE.AD9BF3FE_AC74_53E2_B6E9_74FAAE910CA3" Value="[NOUSEREXE]"/>
<InstallExecuteSequence>
 <Custom Action="NoUserExeStart" Before="LaunchConditions">NOUSEREXE</Custom>
</InstallExecuteSequence>
[/code]

And that's the code of the mergemodule, but it does not seem to recognize the 
property here, the custom action is executed every time.

[code]
<Package Id='AD9BF3FE-AC74-53E2-B6E9-74FAAE910CA3' .../>
<Property Id="NOUSEREXE" Admin="no" Hidden="no" Secure="no" />
<CustomAction Id="StartUserExe.Run" Impersonate="yes" Return="asyncNoWait" 
Directory="..." ExeCommand='"..."' />
<InstallExecuteSequence>
 <Custom Action="StartUserExe.Run" After="InstallFinalize">
  <![CDATA[NOT Installed AND NOT NOUSEREXE]]>
 </Custom>
</InstallExecuteSequence>
[/code]

What am I doing wrong?

Another nivetohave would be if I could put an icon out of my main setup down to 
the mergemodule, so we could build our mergemodule with a generic icon, and 
overwrite that with every customer-setup we build. Something like this possible?

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