On 10-09-10 4:31 PM, little.forest wrote:
> We have to change directory to "C:\Program Files\Common Files\MyApp\" first 
> and
> then run "adxreg.exe /install=myapp.dll". How to do it in Wix?
>

You can do it in a batch file and pass it [INSTALLDIR] in the ExeCommand 
(iirc). So something like:

<CustomAction ... ExeCommand="[INSTALLDIR]\batchfile.bat" ...>

The batch file can use %~dp0 to change to the installdirectory first.

-- 
Sohail Somani
--
iBlog : http://uint32t.blogspot.com
iTweet: http://twitter.com/somanisoftware
iCode : http://bitbucket.org/cheez



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to