Hi Guys, I'm trying to add a custom action of type 18, following the steps
described here
http://blogs.technet.com/b/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx
The problem is when executing my app, it doesn't find a dll required to run the
program.
The dll is present in the directory installed, because if I dont close the
installer dialog with the error, I can see the files, and execute my program
from the command line.
It is a simple program, that uses lognet to log the directories and files in
the installed folder.
I made this to test custom actions.
I paste the wix part involving the custom action
<CustomAction Id="TestApp"
BinaryKey="TestApp"
ExeCommand="-switch"
Execute="deferred"
Return="check"
HideTarget="no"
Impersonate="no" />
<InstallExecuteSequence>
<Custom Action="TestApp" Before="InstallFinalize" />
</InstallExecuteSequence>
and where the files are included
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="INSTALLLOCATION"
Name="TestApplication1">
<Component Id="ProductComponent"
Guid="570929b6-b02d-4551-a785-f8a88b5fa5d1">
<File Id="MainAppConf"
Source="Resources\TestApplication.exe.config" Name="TestApplication.exe.config"
/>
<File Id="log4netdll" Source="Resources\log4net.dll"
Name="log4net.dll" />
<File Id="MainApp" Source="Resources\TestApplication.exe"
Name="TestApplication.exe" />
</Component>
</Directory>
</Directory>
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users