Custom Action Run EXE
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
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
Answers (4)
Please log in to answer
Posted by:
CleverITS
20 years ago
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
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
Posted by:
CleverITS
20 years ago
Posted by:
CrossWired
20 years ago
Posted by:
CrossWired
19 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.