Software1964
Posts: 4
Joined: Tue Sep 16, 2008 3:49 pm

Error while Installation on Vista

Hello,
I create an installation file and want to install it under vista.
While the installation the Installer Information appears

<Applicationname> is not a valid short file name

The installer stop without success.


Thanks for help

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

Re: Error while Installation on Vista

Hi Rolf,

I'm not sure why you are encountering this behavior. Can you please send us the AIP you are using to support at advancedinstaller dot com so we can investigate it? Also, please attach a screen-shot with the error message.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Software1964
Posts: 4
Joined: Tue Sep 16, 2008 3:49 pm

Re: Error while Installation on Vista

Hello cosmin
i send the email to support at advancedinstaller dot com

thanks for your help

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

Re: Error while Installation on Vista

Hi Rolf,

This error message is shown when the installation package runs on a machine which doesn't have the D: drive. Basically, the installation path cannot be resolved, therefore the installation cannot continue.

Please try using an installation path which is valid for all target machines. For example:

Code: Select all

[WindowsVolume]TestCollection\Testing\TestManager CE\
The above path will always be resolved to a folder on the drive which contains the Windows installation.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Peter R
Posts: 16
Joined: Tue Oct 31, 2006 6:36 pm

Re: Error while Installation on Vista

One of our customers recently reported a similar problem on Windows 7. He eventually found the solution himself (our email support requests to Caphyon did not get a response). It appears that the same error message ("is not a valid file name") is shown when any of the registry entries for user shell folders cannot be resolved by the Windows installer. The entries are in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders. In this specific case, the entry for "My Documents" was the problem. Manually changing it to %USERPROFILE%\My Documents fixed the issue.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error while Installation on Vista

Hello Peter,

First of all we apologize for not getting back to you in due time. We had a very busy period recently.

Thank you for posting the found resolution for the "not a valid short file name" error (error 1325 in the msi log). Certainly this info will be useful for future users facing with the same situation.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Peter R
Posts: 16
Joined: Tue Oct 31, 2006 6:36 pm

Re: Error while Installation on Vista

Daniel, you may want to consider catching this error, and changing the dialog text so that it gives a clue about what the underlying issue is (e.g. something like "The Windows installer cannot determine the location of the 'Documents' folder, possibly due to ...). I realize that this issue does not seem to happen very often, but at the same time, changing the dialog text would not be too hard.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error while Installation on Vista

Hello Peter,

You can change the error text by using our "Table Editor" feature. Just go to "Table Editor" page, select the "Error" table and edit the "Message" field of the error 1325.

This feature is available starting with an "Enterprise" project type.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”