Extracting Main Application Files... Loop - Advanced Installer Community

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!

ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Extracting Main Application Files... Loop

I have been using AI Enterprise Edition for the last 3 years. I just updated to version 6.9 and compiled my app as usual.

When I go to run the .exe it gets stuck in a loop at the Extracting Main Application Files... screen. It gets to about 50%, backs up to about 25%, progresses to 50%, and then just keeps up this loop.

I have the same user name and paths as always. No unicode and no long paths.

I really need to get this app compiled and out the door. Unfortunatly I choose to delete the previous version.

PS. I just downloaded and installed version 6.8 and recompiled and that worked fine. Apparently the problem is with 6.9

Ed
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Extracting Main Application Files... Loop

Hi Ed,

You are encountering this behavior because the company name you are using is ended with a dot (".") and this name is used in the package extraction path. Unfortunately Windows does not support folders which have a dot as the last character in their names, so the extraction path is invalid.

A solution is to remove the dot from the company name in your project or change the extraction path. I'm not sure why this worked in the 6.8 version, but most likely it was a bug in Advanced Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Re: Extracting Main Application Files... Loop

I changed the Company Name to not have a period in the name (ie it no longer ends with ", Inc.")

That worked fine for XP but Vista installations are behaving the same, looping during the extraction process.

Is there anything else that I should be looking for that may be specific to Vista?

Ed
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Re: Extracting Main Application Files... Loop

PS,

Here is the aip file.

Odd.... It says "The extension aip is not allowed." One would think that is the most common file to be uploaded. I'll send it to you in a separate email.

Ed
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Re: Extracting Main Application Files... Loop

Is there any way to open my project, which was created with AI 6.9.1, with AI 6.8?

The original problem back in March was solved (even before removing the trailing dot in the name) by using 6.8 and I wanted to see if this problem would also be solved using 6.8 but it won't open a project created in a newer version.

Ed
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Extracting Main Application Files... Loop

Hi,

You are encountering this behavior because the extract location used by the bootstrapper contains an extra backslash ("\") character. Please note that the "[AppDataFolder]" property is already ended with a backslash, so you don't need to add another one after it. Try removing the backslash after "[AppDataFolder]" in the extract location and let me know if the problem persists.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Re: Extracting Main Application Files... Loop

Where in AI do you change [AppDataFolder]. I've been through every setting I could find and don't see where this is set. I even opened the aip file and don't see an indication of anything there. For instance I see in Project Definitions -> Files and Folders and entry named Application Data but it is blank. If I right click and select Properties all of the properties are prefilled with "AppDataFolder". So where exactly is AppDataFolder set?

Please put in in terms that I can follow in AI. For instance "Go to Project Settings -> Product Details.... or Go to Project Definition -> Files and Folders ->...."

Thanks.

Ed
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Re: Extracting Main Application Files... Loop

Never mind. I found it in Project Definitions -> Media -> Bootstrapper -> Extract Location. I failed to focus on the word bootstrapper in your original email.

Ed
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Re: Extracting Main Application Files... Loop

That fixed the problem.

You may want to consider putting some error trapping in the code for this situation. Since it is not obvious that the [AppDataFolder] already has a trailing backslash I'm sure that it is very common for users to include a backslash in front of the next directory they enter. In this case I had [AppDataFolder]\<company name>\[ProductName]\Install. It was the was the backslash before <company name> that caused the problem.

It would also be good to have error trapping for anyone putting a period (dot) at the end of their company name. In the US the abbreviation Inc. for Incorporated is very common so many users may inadvertently put ", Inc." and the end of the companies name. I'm sure that in other countries there are also many other corporate or company abbreviations that would end in a period.

Thanks again.

Ed
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Extracting Main Application Files... Loop

Hi Ed,

The next version of Advanced Installer will include a small improvement which will handle the double backslash. It should be released this week.
It would also be good to have error trapping for anyone putting a period (dot) at the end of their company name.
I added this improvement on our TODO list and it will be available in a future version. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”