Dane Anderson wrote:

I have created an executable that hunts out any running instances of our application or the one

that might be using it, and kills them (one way or another). The problem is it is a command line

application itself, and when it runs it causes windows to toss up a command line window. I could

run it using the QtExecCmdLine and wixca except for one thing. Like I wrote earlier, this has

to run BEFORE the copy files step so that msiexec doesn't think it needs to reboot. I have been

unable to find a way to execute (using the QtExecCmdLine and wixca) something that hasn't

been copied yet. If I didn't need to prevent that command line window from popping up, I could

run it directly using a binary key and running it from inside the msi file itself (did that while

developing the package for another exe helper).

The Question: Is there a way to execute this program (it has NO command line parameters)

absolutely silently (no command line window popping up), PRIOR to the files being coppied

to the target directories?


The easiest is to turn your .exe into a .dll that doesn't show UI. You can call a native-code DLL straight from the Binary table.

--
sig://boB
http://bobs.org

-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to