Hi,

I created a Setup & Deploy project for a VB.NET 2005 application I have.

The installer works, my application is installed correctly.

My problem is regarding the shortcuts the installer creates. The part "User's Desktop" and "User's Program Menu" in the S&D project.

In those two sections, I created a Shortcut to my application. The problem I have is that after the installation, when I click on the shortcuts, It kind of reinstall stuff.

EXPLANATION:
When my application is installed, in the application folder it installs a file named "Init.flag". This file is deleted the first time I start my application.

But If I restart my application using the shortcuts, I see for about 1-2 sec a progress bar .. and my "Init.flag" file is recreated in the application folder as if the installation was reexecuted.

If I manually create a shortcut, this does not occur and it all works. But I do not want my users to manually create a shortcut. I want them to use the ones the installer creates.

The ShortsCuts created by the installer seems to quickly execute something before lauching my application and that causes me headaches.
--

I do not know if its clear ... or if anyone ever had this problem too.

Thanks for helping.