Hi,
i have got an out of proc com server app.exe that an installer must install
and register.
how to instruct wix to do the registration?
the installer needs to accomplish the same effect as:
app.exe -regserver at install and
app.exe -regserver at un-install
I am using two custom action to accomplish that:
<Component Id="app.exe" Guid="{A5E8F545-F3A4-4f55-9B7F-D79786809289}">
<File Id="app.exe" Name="app.exe" KeyPath="yes"
Source="$(var.dir)\app.exe" />
</Component>
<CustomAction Id="RegExe"
FileKey="app.exe"
ExeCommand=" -regserver"
Return="asyncNoWait"
Execute="deferred" />
<CustomAction Id="UnRegExe"
FileKey="app.exe"
ExeCommand=" -unregserver"
Return="asyncNoWait"
Execute="deferred" />
<InstallExecuteSequence>
<Custom Action="RegExe" After="InstallFiles"><![CDATA[ $app.exe > 2
]]> </Custom>
<Custom Action="UnRegExe" After="InstallFiles"><![CDATA[ $app.exe = 2
]]> </Custom>
</InstallExecuteSequence>
The first custom action works, the second that is invoked at un-install does
not. is it an action sequencing problem ?
Thanks.
\antoine
_________________________________________________________________
The average US Credit Score is 675. The cost to see yours: $0 by Experian.
http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users