Results 1 to 3 of 3

Thread: how do you change the set up wizard so it doesn't put the exe into program files

  1. #1

    Thread Starter
    Frenzied Member numtel's Avatar
    Join Date
    Apr 2000
    Location
    CA
    Posts
    1,163
    It doesnt do it like that, it tries to be compatible with the windows sticker program and puts it in the default installation directory, you could change the funcition that tells it where the function is to just return the first drive availible.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    why would your users need to move the exe. Are you hard coding the drive and directory? You shouldnt be doing that if so.

    you can change your code to reference to exe location by using app.path.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Addicted Member
    Join Date
    Oct 2001
    Location
    Between 2 bosses
    Posts
    210
    Alter the Setup.1st file in the package directory


    find the Setup section

    [Setup]

    DefaultDir=$(ProgramFiles)\SpeedData <--- This one

    and change the DefaultDir to whatever you want it to default to.

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