Batch file into MSI format - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

bob2
Posts: 4
Joined: Mon May 03, 2010 5:13 pm

Batch file into MSI format

Hi
Is it possible to turn a batch file into an msi?

In my batch file I have a list of msiexec commands to update Adobe Professional/Standard patches.

Just need to convert that into an msi so it can be deployed from AD.

I tried the Repackage process, but bombed out after very long pause. Process looks for a source exe file,
rather than a batch one.

Thanks,
Bob
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Batch file into MSI format

Hi Bob,

You can easily add the patches as prerequisites

Let me know if this helped.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
bob2
Posts: 4
Joined: Mon May 03, 2010 5:13 pm

Re: Batch file into MSI format

Hi Gabriel,

I looked into the Prerequisites. Tried to add (msp) files there. What I'd like to achieve is getting an msi file that
contains only update patches. We have different versins of AcroPro8 and AcroStandard8 that need to be updated.

Eventually what this msi file will do is to (incrementally) update those versions up to 8.2.2, as indicated in the last line below.

Question is how can I get an msi file that does all these updates?

msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd810_euro_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn
msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd811_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn
msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd812_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn
msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd813_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn
msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd814_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn
msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd815_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn
msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd816_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn
msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd817_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn
msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd820_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn
msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd821_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn
msiexec.exe /p "\\server\share\Adobe\patch\AcrobatUpd822_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /qn

These commands work fine when run from a batch file.

Thanks,
Bob
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Batch file into MSI format

Hi Bob,

You mentioned you tried prerequisites. What exactly didn't work?

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
bob2
Posts: 4
Joined: Mon May 03, 2010 5:13 pm

Re: Batch file into MSI format

Hi Gabriel,

Here's what I've tried:

1. Selected Enterprise option
2. Click on Prerequisites
3. Click on the New button, in the Product window, click on the Files tab, add msp patch files from network folder.

Q: In the New Prerequisites applet, I can see four tabs: Properties, Install Conditions, Options and Files. What exactly go into the Properties? I clicked on the Files tab and added all versions of msp patch files. I do not have an exe file to add since all that’s needed is patch updates.

Got an msi, but install message says no program to update, when there’s a copy of Acrobat Pro 8.1.0 already installed.

I even tried adding only the batch file in the prerequisites, to no avail. MSI install message says incorrect format.

Thanks agai,
Bob
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Batch file into MSI format

Hi Bob,

Please note that you need a different prerequisite for each MSP file. The user guide contains a prerequisite tutorial which may help you.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bob2
Posts: 4
Joined: Mon May 03, 2010 5:13 pm

Re: Batch file into MSI format

Hi Cosmin,

I looked into a small vbs script instead, which sort of rectified that. I couldn't find a place in Advanced Installer to
work with batch file.

Basically in the vb file I just pointed to the batch file, then using Advanced Installer, turned the vbs file into .msi
for deployment.

Thanks
Bob

Return to “Common Problems”