I have build an MSI with Visual Studio Installer and done some minor editing to it with ORCA. But for the life of me I can't manage to get it to let me lauch a program. I think its more that Microsoft's website its confusing the daylight out of me or possibly that I've been looking at this screen way too long today.

So my question is, could someone walkme through the process of launching an executable that is included in the package?

jay
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Yes,
but please be a little bit more specivic ;-)
what to run (.exe)
which commandlineparameters to pass (/x)
where to run (UI, InstallExecute ...)
when to run (before Files action before registry....)

cu
Wolfgang Zerzawy
CleverITS
www.cleverits.com
Answered 11/18/2004 by: CleverITS
Senior Yellow Belt

Please log in to comment
0
The file to run will be installed with part of the package, I need it to run this EXE with no arguments, just execute it. It will be installed in the TARGET_DIR, and needs to run after everything has installed.
Answered 11/18/2004 by: CrossWired
Senior Yellow Belt

Please log in to comment
1
ok.
assuming You want this exe to run asynchronous:
I will explain it in Table view... (orca...)

1) Create a Custom Action (Execute Deferred, Async, NoWait (type 3282)
CustomAction Table
Action: CA_myexe
Type: 3282
Source <key_in_filetable> e.g. cmd.exe
Target:


2) create a Record in InstallExecuteSequence, if neccesary, create a Condition if You want to run the exe only when Installing but not when uninstalling.
the Sequencenumber: take the Sequencenumber from "InstallFinalize" e.g. 3585 and decrement 5 --> 3580

InstallExecuteSequence Table
Action: CA_myexe
Condition: <You_must_set_if_You_want>
Sequence: <SeqNR (Installfinalize -5)>


that's it...

Wolfgang Zerzawy
CleverITS
www.cleverits.com
Answered 11/18/2004 by: CleverITS
Senior Yellow Belt

Please log in to comment
0
Okay, first off thank you so much for getting me this far, but now I have one more related question, my program runs on install with no command line parameters works great, can I also set it up to run on UnInstall with a parameter?
Answered 12/08/2004 by: CrossWired
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity