Underscore characters in my shortcut path - 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!

tmcallaghan
Posts: 16
Joined: Thu Mar 24, 2011 2:38 pm

Underscore characters in my shortcut path

My installer is not working on certain client machines. I have a report where a user is installing on Windows7, I'm installing into a local drive, during the install I have the user select the directory where the executable was installed. If the executable was installed on a network drive in a path of folders and one of the folders contains spaces in it's name, the shortcut is created with underscore characters instead of spaces. When I test it myself I correctly get the spaces (quotes are placed around the entire drive/path/executable combo).

Any ideas? I saw a few posts some years back that reported a similar issue but didn't have a resolution stated.

Thanks,

Tim
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Underscore characters in my shortcut path

Hi Tim,

Can you please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tmcallaghan
Posts: 16
Joined: Thu Mar 24, 2011 2:38 pm

Re: Underscore characters in my shortcut path

I sent my AIP file to support over the weekend. I think I understand the issue after searching around with Google, this page makes it clear what is going on http://www.symantec.com/connect/forums/ ... -windows-7

It seems that on Windows7 if you try and create a shortcut to a network share then the user that actually performs the install (the local user) doesn't have access to the network share and can't validate the path/file. When validation can't be done the spaces are replaced with underscores.

My customer is going to tell their users that if they want to create a shortcut to an executable on a network share then they (1) cannot have underscores in the path or (2) they'll have to manually modify the shortcut after the install.

So, essentially, this isn't an AI problem.

-Tim

Return to “Common Problems”