Results 1 to 4 of 4

Thread: [RESOLVED] Setup Project in Visual problem

  1. #1

    Thread Starter
    Frenzied Member Pc_Not_Mac's Avatar
    Join Date
    Oct 2009
    Location
    localhost
    Posts
    1,206

    Resolved [RESOLVED] Setup Project in Visual problem

    I have just got Visual Studio 2008 and i'm very new to it.
    I have been trying to make a package installer \ setup for my application.
    using the Setup Project. The only problem is that how can i make a default path for my application. For example:

    Install Google.exe at C:\app\google
    so that the user can not switch the application path to for example:
    C:\app\Bing
    Thank you in advance.
    My Codebank:
    Windows Vista & 7 Glass Effect & Limit the amount of times your application could be opened.
    Pause Your Code & Check the OS name

    The question of whether computers can think is like the question of whether submarines can swim.

    Currently learning: Java

    Coding can be a learning experience or

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Setup Project in Visual problem

    You select the Application Folder in the File System Editor and then set the DefaultLocation property.

    That said, it is very bad form to force an app to install to anywhere other than under Program Files. The convention is Program Files\Company Name\App Name and you should follow it.

    There is also plenty of information about deployment and Setup projects on MSDN. I suggest that you do some reading. That's how I found the answer to your question when I wanted to know it myself.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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

    Re: Setup Project in Visual problem

    Moved To Application Deployment

  4. #4

    Thread Starter
    Frenzied Member Pc_Not_Mac's Avatar
    Join Date
    Oct 2009
    Location
    localhost
    Posts
    1,206

    Re: Setup Project in Visual problem

    Thank you jmcilhinney for making me think a little.
    For example my main exe points to other smaller\sister programs that focus only on one task.
    The problem with that was that i had to make a default path for everything for example.
    C:\app\google

    Vb.net Code:
    1. Process.Start(My.Application.Info.DirectoryPath & "\smallgoogle.exe")

    Thank you
    My Codebank:
    Windows Vista & 7 Glass Effect & Limit the amount of times your application could be opened.
    Pause Your Code & Check the OS name

    The question of whether computers can think is like the question of whether submarines can swim.

    Currently learning: Java

    Coding can be a learning experience or

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