Results 1 to 4 of 4

Thread: [RESOLVED] Inquiries on Set-up Package

  1. #1

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Resolved [RESOLVED] Inquiries on Set-up Package

    I am adding a set-up wizard in my project, it's installing fine but it is not creating a shortcut in the program files and when asked where to install it is using "C:\Program Files\Default Company Name\Setup\", how can I change that beforehand?

    Thanks!
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  2. #2
    Hyperactive Member nothingofvalue's Avatar
    Join Date
    Jul 2005
    Location
    Arizona
    Posts
    489

    Re: Inquiries on Set-up Package

    Dee-U,

    In the "file systems view" (right click on your setup project and select view > file system) make sure you have both the solution explorer and the properties explorer open and then click on your setup project. The properties window should populate with a bunch of info. Fill in all info that you want. The directory will default to your company name so make sure you change that or you will continue to get Defaul Company.

    Now for the shortcuts. You should have two columns in the file system page. The left column should have three folders (Application, User Desktop, and User Program Menu). . Since you say your program installs correctly, that means you have already added Primary Output File(s) to the application folder.

    Click on the application folder so that you see the contents in the right column. Right click on the primary output file and choose "Create Shortcut." You can rename the shortcut to just your program name if you like. After that, drag the shortcut into the "User Desktop" folder. Repeat the process for the "Program Menu" folder.

    To make the shortcuts optional during installation, go to the User Interface Screen (right click on your setup project and go to view > User Interface). Right click on "Start" and choose "Add Dialog" and choose one of the checkbox options. Drag the new dialog box up so that it is directly under "Welcome." Customize the checkboxes in the properties window with something like two options, one for installing a desktop shortcut and one for a program menu shortcut. Also set the other properties like whether or not you want them checked by default. Set any check boxes not used to false visibility.

    Go back to the "File System Setup" page and select one of the shortcuts you created. In the properties window, set Arguments property to each respective checkbox that you used (like "CHECKBOXB1=1"). That will tell the installer to only install that shortcut if the box is checked. Repeat for the other shortcut.
    Last edited by nothingofvalue; Oct 20th, 2005 at 09:49 PM.
    "Imagination is more important than knowledge..."

    Albert Einstein
    -----------------------------------------------
    If my reply helped you then you really were lost, but I still took the time to help, please rate it anyway

  3. #3

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Inquiries on Set-up Package

    Will try it out later, thanks!
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  4. #4

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Inquiries on Set-up Package

    Thanks, I got it now...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

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