We help IT Professionals succeed at work.

.Net Installer and guest account desktop shortcuts

jacoalb
jacoalb asked
on
Medium Priority
314 Views
Last Modified: 2012-05-06
I have an Standard Visual Studio setup project.
The "Application" folder consists of the exe Assesmbly as well as all the dependencies.
The "User's Desktop" folder consists of the Application shortcut using the exe assesmbly as target.

I install this setup on a pc with a user that has Administrative rights, I also select to install the Application to All Users(everyone).

When runing the desktop shortcut as Administrative user, the app responds normaly and starts up.
When running the desktop shortcut as a guest user, the shortcut starts up a window with a progress bar, similar like a setup window. The Task will complete and then the App will start up. This happens every time when the guest user logs off and try to use the app for the first time again.
I have also noticed that when I delete the installer from its original path, the window with the progress bar will cancel and ask for the installer path.

Why does this happen and how can I fix this?
Thank you
Comment
Watch Question

Commented:
Solved the Problem!

Adding a folder to the "User's Programs Menu" and setting the "AlwaysCreate" property to true causes the corrupted link on the guest account desktop.
Set this propery to false and all works fine.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.