Hi all,

I'm a beginner in this world and I would like to know if someone could advise me.

I have to create a package for an application that for install it, it is necessary to execute a setup file, my idea is to cover the installation inside of a msi (I need to create some registryu keys and provide additional information) and start the installation out of this with the commands.

I Tried to create a CA to call the exe without success.
I'm not sure if I have to add the exe file to the project or not or...

Maybe it is an easy question but as I said before I'm just a beginner.
Thanks in advance for your help !!!
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
Hi sergio,

u need to create a wrapper MSI as per your query, if the exe is having switches u can use the same as per yr requirement.Different types of Custom Actions are available to run an exe call within the MSI.


type 66-> (2)msidbCustomAction TypeExe(EXE file stored in a Binary table stream.) + (64) msidbCustomAction TypeContinue(Synchronous execution. Ignores exit code and continues)[CA return processing options]

other types are 18(EXE file installed with a product.),
50(EXE file with a path specified by a property value.), and
34(EXE file with a path referencing a directory.)]

As per yr query u need to use type 18 CA or type 66.

rergards,
Mayur
Answered 09/20/2011 by: mayur_mak
Senior Purple Belt

Please log in to comment
0
Sergio, this is a VERY steep learning curve so, before you do ANYTHING, read and digest Phil Wilson's The Definitive Guide to Windows Installer. Unless you know the fundamentals of WI, you will struggle.
Answered 09/20/2011 by: VBScab
Red Belt

Please log in to comment
0
Phil give you kickbacks vbscab?
[;)]
Answered 09/20/2011 by: jmaclaurin
Third Degree Blue Belt

Please log in to comment
0
Without knowing what tools you are using, its actually not that hard to create a custom action to run an exe. Its where you put it in sequence that might be causing your problem. I believe the default is always absent, but what you may want to set it to is probably somewhere just before "InstallFinalize".
Answered 09/20/2011 by: jmaclaurin
Third Degree Blue Belt

Please log in to comment
0
Phil give you kickbacks vbscab?PMSL...if only! They are only two books of any worth on WI - Phil's plus the one from RealTime Publishers. I recommend the former over the latter any day of the week.
Answered 09/20/2011 by: VBScab
Red Belt

Please log in to comment
0
also mayur_maks advice although quite detailed was incorrect. As it is a setup installed you will need to run it in deferred mode so you will need to add either 1024 or 2048 to the advice of mayur_mak.
Answered 09/23/2011 by: jmcfadyen
Fifth Degree Black Belt

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