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

Got a problem you cannot solve? Try here.
mgkrebbs
Posts: 4
Joined: Thu Jun 16, 2016 9:16 am

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

Postby mgkrebbs » Thu Jun 16, 2016 9:39 am

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.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Thu Jun 16, 2016 10:39 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

mgkrebbs
Posts: 4
Joined: Thu Jun 16, 2016 9:16 am

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

Postby mgkrebbs » Thu Jun 16, 2016 11:41 am

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?

mgkrebbs
Posts: 4
Joined: Thu Jun 16, 2016 9:16 am

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

Postby mgkrebbs » Thu Jun 16, 2016 11:52 am

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.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Thu Jun 16, 2016 12:49 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

mgkrebbs
Posts: 4
Joined: Thu Jun 16, 2016 9:16 am

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

Postby mgkrebbs » Thu Jun 16, 2016 5:45 pm

You should get an email with a Google drive link.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Fri Jun 17, 2016 11:28 am

Received!

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 125 guests