We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

AI 9.6.1 don't extract files to install when reduced UI

Hi.

I have an AI project which has these properties stablissed in the Media tab:
- Single EXE setup (resources inside).
- Archive installation files using LZMA compression.
- Extract location = [CommonFilesFolder]\A3\Instal
- Do not delete extracted MSI and CAB files.

To execute the installation, I call the setup program using reduced UI: setup.exe /qr

If I rebuild the project using AI 9.2, the included directories and files are extracted from the setup.exe file into the [CommonFilesFolder]\A3\Instal\xxxxx\ folder. Into this folder appears the MSI file. All these are Ok, and means that I can go to the Control Panel to repair or uninstall.

But if I update to AI 9.6.1, and I rebuild the project using this version of AI, when I executes the installation program with the same parameters, the included directories and files aren't extracted from the setup.exe file, and the [CommonFilesFolder]\A3\Instal\xxxxx\ folder only contains the MSI file. Then, when the installer wants to copy files to the definitive installation path, it don't finds the files and shows an error message, aborting the installation process.

If I execute the installation program whitout the /qr parameter, the files and folders are extracted and the installation process ends correctly.

Can you help me?

I want to update to AI 9.6.1 to check if another problem is solved. This problem is related to the "reinstall-after-reboot" behaviour because it occurs too many times, and the verbose log file don't says me which is the cause of it.

Best regards.
mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

Re: AI 9.6.1 don't extract files to install when reduced UI

Hi.

I can add more information:

If I removes the extraction path, the installation success with and without the /qr parameter.

Anything more: When the extraction path is set to an existing or not existing path, the first window of the installation process that extracts files from the main application opens and then closes inmediatelly, when with AI 9.2 this window is showed for several seconds while the files are extracted and the scroll bar goes.

In my project there aren't stablished any "Minimize installation time" option.

Then, I think the problem is the extraction path when the /qr parameter is set.

Regards.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: AI 9.6.1 don't extract files to install when reduced UI

Hi,

In version 9.6.1 we have made some improvements to the extraction support to speed up the installation and provide a better UX during the install.
However, some bugs have been included along with these improvements. A workaround to avoid them until we release a fix is to set the property
"ExtractFilesFirst" to value "1" in Install Parameters page, can you please try it and let us know if it works?

The improvements represent a support for asynchronous file extraction, so the files will be extracted during the UI interface, with the purpose of providing a non-blocking UI to the user. The above workaround is actually a switch to disable this type of extraction and continue using the old method, that extracted all the files before launching the install. This is why you also see the differences mentioned in your second post.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

Re: AI 9.6.1 don't extract files to install when reduced UI

Yeah!

I tested the ExtractFilesFirst = 1 property and it result succesfully! Thanks a lot!

Then, I should to think the error I reported will be fixed in next revisions of AI? If yes, I supose this property will be no longer needed?

Now I can continue searching my "reinstall-after-reboot" ghost problem... ;-)

Best regards.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: AI 9.6.1 don't extract files to install when reduced UI

Hi,
Then, I should to think the error I reported will be fixed in next revisions of AI?
We already fixed a problem with extraction paths that contained non-ANSI characters. Is that the case for your path? If so, can you test the install with an
extraction path that uses non-ANSI characters and without the property I mentioned set, to see if it works correctly? As it should be.
If yes, I supose this property will be no longer needed?
That is correct.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

Re: AI 9.6.1 don't extract files to install when reduced UI

My extraction path is [CommonFilesFolder]\A3\Instal

I think it hasn't non-ANSI characters.

Regards.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: AI 9.6.1 don't extract files to install when reduced UI

"CommonFilesFolder" folder expands at install time to a full path, can you tell what is that path on your machine?

Or, can you send us an email at support at advancedinstaller dot com with the aip file and a verbose log from the OS where it failed?

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mabs
Posts: 27
Joined: Tue May 08, 2012 10:04 am

Re: AI 9.6.1 don't extract files to install when reduced UI

Hi.

This is a Windows 7 x64, but the project is a 32 bits installation. My common files folder is: "C:\Program Files (x86)\Common Files"

But when running in a pure 32 bits Windows, the common files folder is "C:\Program Files\Common Files"

Regards.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: AI 9.6.1 don't extract files to install when reduced UI

Hi,

It seems this is not related with the bug I was talking about. Can you please send us the aip file and download link for your setup package to support at advancedinstaller dot com so we can investigate them?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”