.Net Installer and guest account desktop shortcuts

Posted on 2009-02-18
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
Question by:jacoalb
    1 Comment

    Accepted Solution

    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.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    The canonical version of this article is on my web site here: A companion presentation is available here:
    We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
    The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
    The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now