
CChong2 (Flexera) asked a question.
Unable to make transform files
I'm trying to build a transform file for one of my project.
Everything goes fine until I test the mst. I get the message "The Installation cannot be run by directly launching the MSI package. You must run setup.exe."
Are there any ways to get rid of this dependance with setup.exe?
Thanks
Here is some explanations to why you need setup.exe
To install an MSI package on your machine you need MSI engine. One reason why you should always use setup.exe to run your installation is that setup.exe checks for the existence of the MSI engine on your machine and if MSI engine is not present it will install it.
Once you have MSI engine then you don't need setup.exe to install the MSI package.
As fas as transform are concerned you can run the following command line to install the MSI + transform
msiexec /i /T
To create a transform, I use InstallShield Tuner. Everything works fine until I try to run my MSI package with the transform.
And no matter how I try, I can't use the MSI without the setup.exe file without getting the "The Installation cannot be run by directly launching the MSI package. You must run setup.exe."
message even if I run msiexec /i .
Is there any way for the MSI package to stop looking for the setup.exe file when the MSI engine is resent on the disk?
Please check the following link for additional information.
http://support.installshield.com/kb/view.asp?pcode=ALL&articleid=Q107978&ISCS3AL=%3CATT:EMAIL_ID%3E
http://support.installshield.com/kb/view.asp?articleid=q108166