|
-
Nov 6th, 2003, 01:41 PM
#1
Thread Starter
Lively Member
Application Shortcuts
At last I have a BETA version of my first .net application. I am encountering a problem with application shortcuts. I created a setup project and installation works fine except that the shortcuts created will try to install the program everytime I double click on them. Creating a shortcut manually will solve the problem.
What I am doing is
1. Build a release version into the bin folder.
2. Run dotfuscator and save the applic.exe to a folder c:\ToRelease containing all my files that will go into the setup.
3. Create a setup project
4. Define a folder to be c:\program files\my app
5. add all files in the ToRelease folder to folder defined in 4
6. Create shortcuts for applic.exe with the properties as
folder: User Desktop
Target: applic (From select item in project)
Working Folder: my app (From select folder)
I repeat the same as 5 for the User's program menu
The shortcuts will be created fine on installation but before running the application they seem to run install again, altough no prompts appear. If I rename the Release folder where the setup is saved the shortcuts will fail with an error. It seems that the shortcut will point to the setup program instead.
I am testing this on Win2000
Any help is appreciated.
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
|