|
-
Feb 19th, 2008, 12:07 PM
#1
Thread Starter
Hyperactive Member
.NET 2005 - Setup & Deployment project
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|