InstallUtil is an abomination in the sight of all right-thinking setup
developers ;-) You should study the code in your Installer-derived classes
and work out what it's doing, then represent that in terms of native Windows
Installer and WiX extension features.
Custom actions are incredibly hard to get right and still support uninstall,
repair, rollback, you name it. Better to use the native features which
already do this, and the WiX extension custom actions which have been
designed to support these scenarios.
--
Mike Dimmick
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karthika K
Sent: 11 April 2007 21:18
To: [EMAIL PROTECTED]
Subject: [WiX-users] Using InstallUtil.exe to run an exe from a setup
Hi All,
I have a console application which installs custom controls to a toolbox. I
want to run this application from a setup (wix file).
How can I use InstallUtil.exe for this purpose? I had the following
customaction element:
<CustomAction Id= 'Managed_Install' Directory= 'TestDir' ExeCommand=
'"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\installUtil.exe"
/LogToConsole=false InstallToolboxControls.exe -Install' Return='check'/>
But it doesn't seem to work. Can someone please tell me how I can run an
.exe file from an msi created using wix file?
I appreciate your help!
Thanks,
-Karthika
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wix-users