|
-
Mar 8th, 2010, 02:32 PM
#1
Thread Starter
Member
Setup Wizard
I've followed a few tutorials on how to add a setup wizard to my project. I got it working, however, the desktop shortcut that it adds to my desktop after the install is a shortcut to either a) Application Files b) User's Desktop c) User's Programs Menu depending on what I set it to. How can I change shortcut to be an actual shortcut to the exe?
I'm targeting .NET 2.0
-
Mar 8th, 2010, 03:11 PM
#2
Re: Setup Wizard
VB.NET platform - Moved to Application Deployment
-
Mar 9th, 2010, 05:46 AM
#3
Re: Setup Wizard
Application Files, User's Desktop, User's Programs Menu are the locations for the short cuts. Change the property "target" to primary output.
-
Mar 9th, 2010, 11:05 AM
#4
Thread Starter
Member
Re: Setup Wizard
The only options I have for the target are;
Application Folder
User's Desktop
User's Program Menu
-
Mar 10th, 2010, 03:08 AM
#5
Re: Setup Wizard
After create shortcut it will ask "Select item in project". In the "Application folder" you will find the "Primary output from....." Then give the shortcut a proper name and an icon.
-
Mar 10th, 2010, 09:30 AM
#6
Thread Starter
Member
Re: Setup Wizard
????
I do not get prompted to do anything after I create the shortcut (Right click on Desktop and select create shortcut). It allows me to rename the shortcut and that is it.
This isn't making any sense.
-
Mar 10th, 2010, 11:07 AM
#7
Re: Setup Wizard
So you can't set the property of the shortcut to primary output?
Are you sure you have a sulotion with 2 projects, 1 your project and 1 setup project? Which VS?
-
Mar 10th, 2010, 11:19 AM
#8
Thread Starter
Member
Re: Setup Wizard
I'm using VS2008 and I do have two projects. When I setup the application folder, it is the primary output. When I change the target of the shortcut that I create on User's Desktop, the only options I have are;
Application Folder
User's Desktop
User's Program Menu
If I change it to application folder, the shortcut links to the application folder where the user can open the exe, but I want it to run the exe instead of opening the entire folder.
-
Mar 11th, 2010, 05:11 AM
#9
Re: Setup Wizard
If you choose the "File System" of your setup project is there in the "Application Folder" the "Primary out from.....(active) type=Output" ?
All shortcuts must point to this output. Compile your project to release folder.
Otherwise try to remove to setup project and "ADD" a setup project to your solution again.
-
Mar 11th, 2010, 12:46 PM
#10
Thread Starter
Member
Re: Setup Wizard
I figured it out. I did the following;
1) Right click 'User's Desktop'
2) Select 'Add'
3) Select 'Project Output'
4) Go to Primary out properties
5) On the 'Excludefilter' property, added *.dll and *.config
This installed only the exe to the desktop.
Thanks
-
Mar 11th, 2010, 01:20 PM
#11
Thread Starter
Member
Re: Setup Wizard
Now my app is no longer checking for updates. How can I fix this?
-
Mar 24th, 2010, 08:27 AM
#12
Thread Starter
Member
Re: Setup Wizard
Anyone know how to fix this? I'm able to create an installer that installs the application to the desktop, however, it is no longer checking for application updates.
The program only checks for updates if you use the setup.exe created when publishing the application...and since I'm targeting .NET 2.0 it won't install a desktop shortcut.
-
Mar 25th, 2010, 10:10 AM
#13
Re: Setup Wizard
With a setup project there is no buildin update function. You have to create your one.
-
Mar 25th, 2010, 10:46 AM
#14
Thread Starter
Member
Re: Setup Wizard
How do I create an update function
-
Feb 8th, 2014, 05:04 AM
#15
New Member
Re: Setup Wizard
After adding your files on "Application Folder"
1. Right Click on your .exe file and create a shortcut.
2. Now then drag it to your "Desktop" folder on the other side.
3. After installing your application, there will be a shortcut on your desktop.
That's what I do to make it simple for users yet easy to do for us developers.
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
|