/build/static/layout/Breadcrumb_cap_w.png

Little Question about packaging

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

Answers (12)

Posted by: shivashankarfc 13 years ago
Yellow Belt
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
Posted by: murali.bhat 13 years ago
Purple Belt
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.
Posted by: Teitan 13 years ago
Senior Purple Belt
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
Posted by: slay_u 13 years ago
Orange Belt
0
Yes, you can do it that way, but you are missing on the benefits of an msi...

I personally will not recommend that...
Posted by: anonymous_9363 13 years ago
Red Belt
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?
Posted by: shivashankarfc 13 years ago
Yellow Belt
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.
Posted by: Teitan 13 years ago
Senior Purple Belt
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.
Posted by: jmcfadyen 13 years ago
5th Degree Black Belt
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.
Posted by: anonymous_9363 13 years ago
Red Belt
0
I may [of] have mis-read it, you're right. Maybe it's time to retire.
Posted by: dreyer 13 years ago
Purple Belt
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? ;)
Posted by: Rameioj 13 years ago
Senior Yellow Belt
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.
Posted by: anonymous_9363 13 years ago
Red Belt
-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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ