jfuhr
Posts: 41
Joined: Wed Mar 19, 2008 4:52 pm

Is it possible to create installer script from msi?

We had a server crash and have lost our installer script source code.

Is it possible to:

1. Rebuild the installer script from an MSI file?

2. Is there a way to extract the SQL script that was included in the SQL connections section of the install script?
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Is it possible to create installer script from msi?

Hi,
1. Rebuild the installer script from an MSI file?
1 It is possible to retrieve most of predefined tables included in MSI file using Import MSI file feature (File -> Import -> Import MSI/MSM option).
After importing the original MSI packages into an Advanced Installer project you must customize it Custom Actions, SQL Scripts...
2. Is there a way to extract the SQL script that was included in the SQL connections section of the install script?
2. You can use Orca to retreive the SQL scripts from your original MSI.
Go to AI_SQLScript table and locate ScriptText row. You can write binary data by double clicking on the ScripText row and selecting "Write binary to filename" option.

Regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”