Installer complains c:\program could not be found - 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!

CoderMike
Posts: 9
Joined: Wed Dec 19, 2007 3:22 pm

Installer complains c:\program could not be found

I have a problem with the installer:
While running my app installer I get an error message when the screen switches to "Removing backup files": Message "C:\Program" could not be found etc..

I am running an englisch XP so my App is installed in "C:\Program Files\XXXXX". I assume the installer has a problem with the blank between "Program" and "files" but I have no idea which component is causing this

Any advice?

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

Hi,

This probably happens because you have used a path which contains blank spaces without using quotes.

Note that a path which contains at least one blank space (for example "C:\Program Files") must be enclosed by quotation marks ("). Also, this applies to referenced files or folders (for example "[#file.txt]").

Please make sure that you use quotation marks for the paths you are using in your project (you should start with the "Custom Actions" page).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CoderMike
Posts: 9
Joined: Wed Dec 19, 2007 3:22 pm

Hi Cosmin,

thanks for the reply - I almost found the solution the same minute.
Maybe it would be useful if the Configure custom action parameter dialog encloses the selected settings by quotes automatically when selecting a file.

Best regards
Michael

Return to “Common Problems”