PDA

Click to See Complete Forum and Search --> : Setup Wizard


Rando
Mar 8th, 2010, 02:32 PM
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

Hack
Mar 8th, 2010, 03:11 PM
VB.NET platform - Moved to Application Deployment

namrekka
Mar 9th, 2010, 05:46 AM
Application Files, User's Desktop, User's Programs Menu are the locations for the short cuts. Change the property "target" to primary output.

Rando
Mar 9th, 2010, 11:05 AM
The only options I have for the target are;

Application Folder
User's Desktop
User's Program Menu

namrekka
Mar 10th, 2010, 03:08 AM
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.

Rando
Mar 10th, 2010, 09:30 AM
????

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.

namrekka
Mar 10th, 2010, 11:07 AM
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?

Rando
Mar 10th, 2010, 11:19 AM
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.

namrekka
Mar 11th, 2010, 05:11 AM
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.

Rando
Mar 11th, 2010, 12:46 PM
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

Rando
Mar 11th, 2010, 01:20 PM
Now my app is no longer checking for updates. How can I fix this?

Rando
Mar 24th, 2010, 09:27 AM
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.

namrekka
Mar 25th, 2010, 11:10 AM
With a setup project there is no buildin update function. You have to create your one.

Rando
Mar 25th, 2010, 11:46 AM
How do I create an update function