/build/static/layout/Breadcrumb_cap_w.png

Hacking setup.ini to use transform

I just created a transform for Crystal Business View Manager. I want to add an entry into the vendor setup.ini so that if someone launches setup.exe it will run the MST. I have done this for other applications, but can not figure out this one.

I think the install was complied with VS .Net and I am having difficulty finding info on what options I can change in the setup.ini. Anyone have any suggestions??? Below is what the vendor supplied setup.ini looks like.

Doug


----------------------------------------------------
[Bootstrap]
Msi=cer.msi
LanguageDirectory=en
ProductName=Crystal Enterprise 10.0
DialogText=DialogText
CaptionText=CaptionText
ErrorCaptionText=Crystal Enteprise Setup Error
MsiMajorVersion=2
MsiMinorVersion=0
MsiBuildNumber=2600
TempFilePrefix=CEInstall_
[UI]
101=Another version of setup.exe is already running.\n\nOnly one version of this application can run at a single time.
102=%s Setup
103=CreateMutex failed to allocate handle for single instance check.
104=%s Setup has failed.\n\nIf the problem persists, please contact Crystal Decisions Product Support (http://support.crystaldecisions.com).
105=Crystal Enterprise
106=An error occurred while parsing installer setup file '%s' \n\n\tor\n \nthe file could not be located.
107=CreateProcess failed for the following command-line: %s
108=Local system administrator's privileges are required to run %s Setup. Setup will now exit.
109=To start %1 Setup, click OK. To quit without installing, click Cancel.
110=%s Setup Error
111=Version detection failed for %1. Insure that the installer exists at the specified location.%n%nMessage returned: %2
112=Crystal Enterprise installer '%s' could not be located. Setup will now exit.
113=Setup has completed. Would you like to reboot now?
114=Setup succeeded.
119=Setup cannot locate the current user's temp folder.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: cdupuis 20 years ago
Third Degree Green Belt
0
Add this to a batch file and have the users launch the batch file

msiexec /i "ProductName.msi" TRANSFORMS="YourTransform.mst"

Just make sure the path to msiexec.exe is in your environment variables or it will not work.
Posted by: d_fisher 20 years ago
Senior Yellow Belt
0
I was hoping you wouldn't say that. I knew I could do that... I just didn't want to. Oh well it gets the job done.

Doug
Posted by: janoon 20 years ago
Senior Yellow Belt
0
You can also add the following line after Msi=cer.msi entry

cmdline=TRANSFORMS="YourMst.mst" /I

Other commandline parameters can also be added i.e;

cmdline=TRANSFORMS="YourMst.mst" /I ALLUSERS=1 /lv* C:\Yourlog.log
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