Results 1 to 15 of 15

Thread: Setup Wizard

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2010
    Posts
    41

    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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Setup Wizard

    VB.NET platform - Moved to Application Deployment

  3. #3
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    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.

  4. #4

    Thread Starter
    Member
    Join Date
    Jan 2010
    Posts
    41

    Re: Setup Wizard

    The only options I have for the target are;

    Application Folder
    User's Desktop
    User's Program Menu

  5. #5
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    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.

  6. #6

    Thread Starter
    Member
    Join Date
    Jan 2010
    Posts
    41

    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.

  7. #7
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    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?

  8. #8

    Thread Starter
    Member
    Join Date
    Jan 2010
    Posts
    41

    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.

  9. #9
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    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.

  10. #10

    Thread Starter
    Member
    Join Date
    Jan 2010
    Posts
    41

    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

  11. #11

    Thread Starter
    Member
    Join Date
    Jan 2010
    Posts
    41

    Re: Setup Wizard

    Now my app is no longer checking for updates. How can I fix this?

  12. #12

    Thread Starter
    Member
    Join Date
    Jan 2010
    Posts
    41

    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.

  13. #13
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    Re: Setup Wizard

    With a setup project there is no buildin update function. You have to create your one.

  14. #14

    Thread Starter
    Member
    Join Date
    Jan 2010
    Posts
    41

    Re: Setup Wizard

    How do I create an update function

  15. #15
    New Member
    Join Date
    Oct 2013
    Posts
    7

    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
  •  



Click Here to Expand Forum to Full Width