Good morning guys,

i just wanted to ask if it would be good practice to call a setup.exe over an CA at which the setup file is stored
in a folder beside the msi package.
I've chosen this way because the setup.exe is doing some further things apart from copying files and adding reg keys
and repackaging would be horrible.

Greetings
Teitan
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
Hello Teitan,

If you are not considering to repackage the exe, then I would suggest not go for MSI at first place. Try to find out the silent switches for the exe instead of wrapping it in an MSI, as silent switch would suffice your cause.



Regards

Shiv
Answered 11/24/2010 by: shivashankarfc
Yellow Belt

Please log in to comment
0
If you are calling setup.exe from msi, make sure that your setup.exe has a return value and you check this in your msi's calling script. Also, on msi rollback, setup file should remove the installed components. Otherwise, you may end up in half done installation.
Answered 11/24/2010 by: murali.bhat
Purple Belt

Please log in to comment
0
I'am running the setup.exe over an MSI CA including the silent switches for install and uninstall of the setup.exe
The problem is, that we are forced to create msi packages thats why i do it this way.

Greetings
Teitan
Answered 11/24/2010 by: Teitan
Senior Purple Belt

Please log in to comment
0
Yes, you can do it that way, but you are missing on the benefits of an msi...

I personally will not recommend that...
Answered 11/24/2010 by: slay_u
Orange Belt

Please log in to comment
0
- Extract the MSI.
- Install it
- Use a lightweight snapshot tool like InstallWatch to take a 'Before' snapshot
- Rename the product's entry in the registry's Uninstall tree (so that the next step is fooled into re-installing instead of modifying
- Run the EXE, ensuring that you choose EXACTLY the same options as in step 2
- Take an 'After' snapshot
- Incorporate any relevant changes in your transform

Is this the 19th or 20th time I've typed this out?
Answered 11/25/2010 by: VBScab
Red Belt

Please log in to comment
0
If you are to repackage and adhere to the Microsoft standards then capture the application as per VB's suggestion. And, again it all matters what the client standards you follow. Ultimately its your client who has to get that application.
Answered 11/25/2010 by: shivashankarfc
Yellow Belt

Please log in to comment
0
As far as i've seen it there is no MSI file extracted. Otherwise I wouldn't call the setup.exe from a msi.
Answered 11/25/2010 by: Teitan
Senior Purple Belt

Please log in to comment
-2
Sssssssssssssoooooooooooooooooooo....the post that started this thread was completely erroneous, then? if it would be good practice to call a setup.exe over an CA at which the setup file is stored in a folder beside the msi package.
Answered 11/25/2010 by: VBScab
Red Belt

Please log in to comment
0
i think you may of misread this one Ian.

He never made mention of the setup exe containing another MSI he stated that the setup.exe would be called from the same folder as the parent MSI.

It would appear the OP is simply wrapping an EXE with an MSI due to corporate standards. Assuming I am reading this correct then the approach to using a CA from the parent MSI would be acceptable way of deploying the exe. Murali commented correctly about Commit / Rollback CA's.
Answered 11/25/2010 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
I may [of] have mis-read it, you're right. Maybe it's time to retire.
Answered 11/25/2010 by: VBScab
Red Belt

Please log in to comment
0
ORIGINAL: VBScab

I may [of] have mis-read it, you're right. Maybe it's time to retire.



Nah, then who would answer all these various [s]stupid[/s] questions over and over again? ;)
Answered 11/26/2010 by: dreyer
Purple Belt

Please log in to comment
0
That would be a good solution to call the setup.exe file using custom action. Or if setup.exe is not another application, then whatever files and registry that adds by the setup.exe will be add to the MSI package. Im not saying for the .msi itself but adding it in the "transforms" that you produce.

Hope it helps.
Answered 12/02/2010 by: Rameioj
Senior Yellow Belt

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