Page 1 of 1

Tried compiling install made with MSI/MSM Import Wizard, failed

Posted: Thu Jun 16, 2016 9:39 am
by mgkrebbs
Tried compiling install made with MSI/MSM Import Wizard, failed

Hi all,
I'm evaluating the Studio Admin version, and wanted to try the MSI/MSM Import Wizard. My first attempt was a mySQL server install. The wizard worked, but when I went to compile the project:

Building Project: mysql-installer-commercial-5.7.11.0
Output Folder: P:\InstallAwareProjects\mysql-installer-commercial-5.7.11.0\Release\SingleDeployment Type: Compressed Single Self Installing EXE
Code Signing: Disabled
Compression: Default
Compiler Variables: BUILDMODE=SFX,LANGUAGE=English,TITLE=mysql-installer-commercial-5.7.11.0,TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~2\INSTAL~2,PROJDIR=P:\INSTAL~1\MYSQL-~1.0,IAVER=21.05
###
Cleared output folder P:\InstallAwareProjects\mysql-installer-commercial-5.7.11.0\Release\SingleBuilt plug-in action Windows Installer
Built plug-in action (Un)Install MSI Setup
Built plug-in action Windows Installer
Error during build: No files matching pattern "P:\InstallAwareProjects\mysql-installer-commercial-5.7.11.0\#CABFILE#\#media1.cab\Installer.exe"


Are there any tweaks that commonly need to made when using the MSI/MSM Import Wizard?

-Thanks.

Re: Tried compiling install made with MSI/MSM Import Wizard, failed

Posted: Thu Jun 16, 2016 10:39 am
by FrancescoT
Dear Mgkrebbs,

did you made any modification to the project generated by the "MSI/MSM" import Wizard?
This because the error looks to be caused by the following path, which is probably used by the "(Un)Install MSI Setup" statement in your script.

- "P:\InstallAwareProjects\mysql-installer-commercial-5.7.11.0\#CABFILE#\#media1.cab\Installer.exe"

The above path contains an extra "#" character after the CABFILE compiler variable.
In IA script the "#" symbol is used when dereferencing compiler variables, so this should be eventually;

- "P:\InstallAwareProjects\mysql-installer-commercial-5.7.11.0\#CABFILE#\media1.cab\Installer.exe"

Hope this helps you.

Regards

Re: Tried compiling install made with MSI/MSM Import Wizard, failed

Posted: Thu Jun 16, 2016 11:41 am
by mgkrebbs
Thank you for the prompt reply.
I did not make any changes. It looks like it put the extra "#" in all the lines after the #CABFILE# variable:

Install Files #CABFILE#\#media1.cab\Installer.exe to $TARGETDIR$\MySQL\MySQL Installer for Windows\MySQLInstaller.exe
Install Files #CABFILE#\#media1.cab\InstallerLauncher.exe to $TARGETDIR$\MySQL\MySQL Installer for Windows\MySQLInstallerLauncher.exe
Install Files #CABFILE#\#media1.cab\Installer.exe.config to $TARGETDIR$\MySQL\MySQL Installer for Windows\MySQLInstaller.exe.config
Install Files #CABFILE#\#media1.cab\InstallerConsole.exe to $TARGETDIR$\MySQL\MySQL Installer for Windows\MySQLInstallerConsole.exe
Install Files #CABFILE#\#media1.cab\InstallerUpdater.exe to $TARGETDIR$\MySQL\MySQL Installer for Windows\MySQLInstallerUpdater.exe
Install Files #CABFILE#\#media1.cab\MySql.Data.dll to $TARGETDIR$\MySQL\MySQL Installer for Windows\MySql.Data.dll
Install Files #CABFILE#\#media1.cab\Installer.Core.dll to $TARGETDIR$\MySQL\MySQL Installer for Windows\MySQLInstaller.Core.dll
Install Files #CABFILE#\#media1.cab\StandardPlugins.dll to $TARGETDIR$\MySQL\MySQL Installer for Windows\StandardPlugins.dll
Install Files #CABFILE#\#media1.cab\Interop.Shell32.dll to $TARGETDIR$\MySQL\MySQL Installer for Windows\Interop.Shell32.dll

I'll try replacing them. There are 39 lines with the problem, is there a handy replace function in the editor?

Re: Tried compiling install made with MSI/MSM Import Wizard, failed

Posted: Thu Jun 16, 2016 11:52 am
by mgkrebbs
Francesco,
I replaced them all manually, and tried to compile again and got:
Error during build: No files matching pattern "P:\InstallAwareProjects\mysql-installer-commercial-5.7.11.0\#CABFILE#\media1.cab\Installer.exe"

So apparently, it's not creating that cab. I tried putting a breakpoint there, but it does not stop. I'm hitting the "Single File" button.

Re: Tried compiling install made with MSI/MSM Import Wizard, failed

Posted: Thu Jun 16, 2016 12:49 pm
by FrancescoT
Dear Mgkrebbs,

did you have any chance to send me the msi file you used with the MSI/MSM Import Wizard?
I'll try to have a look.

You can send it to; support@installaware.com (...or alternatively a link where that package can be dowloded).

Regards

Re: Tried compiling install made with MSI/MSM Import Wizard, failed

Posted: Thu Jun 16, 2016 5:45 pm
by mgkrebbs
You should get an email with a Google drive link.

Re: Tried compiling install made with MSI/MSM Import Wizard, failed

Posted: Fri Jun 17, 2016 11:28 am
by FrancescoT
Received!

Regards