#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2010
    Posts
    88
    Rep Power
    5

    Change Published Project Install Directory


    I am trying to change the default installation directory of my projects when I publish them, I can change the location to publish to but I seem to have no choice over where the published setup.exe actually puts the program, it usually ends up in a directory like the below:

    C:\Users\{username}\AppData\Local\Apps\2.0\94AY7RYC.XH4\AQ08EPTM.G5Z\semt..tion_0ca3ba092103ec96_0001.0001_1f0a55976f96 c9dc

    Also though not as important, is there anyway of outputing the published project as an MSI rather than a setup.exe and a folderof insallation files? I have seen a couple of suggestions for this but all required additional programs to have to be purchased first.

    Any ideas

    Many thanks
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Posts
    119
    Rep Power
    158

    where else would you want it?


    Originally Posted by Spudgun01
    I am trying to change the default installation directory of my projects when I publish them, I can change the location to publish to but I seem to have no choice over where the published setup.exe actually puts the program, it usually ends up in a directory like the below:

    C:\Users\{username}\AppData\Local\Apps\2.0\94AY7RYC.XH4\AQ08EPTM.G5Z\semt..tion_0ca3ba092103ec96_0001.0001_1f0a55976f96 c9dc

    Also though not as important, is there anyway of outputing the published project as an MSI rather than a setup.exe and a folderof insallation files? I have seen a couple of suggestions for this but all required additional programs to have to be purchased first.

    Any ideas

    Many thanks
    where else do you want it?

    it looks to be a program fro a user stored in their personal and perhaps private folder (user control and all that)
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2010
    Posts
    88
    Rep Power
    5

    In the most logical place


    Preferably I would want it installed under Program Files which seems to me to be the most logical place for a program to be installed, all the people who will be using this will be Technicians on their own computers and when I provide revisions to the program I want to make it as easy as possible for them to update the program or the associated INI file.
  6. #4
  7. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,453
    Rep Power
    4539
    What version of VB? Years ago I used the free Visual Studio Installer for VB6 projects and you can specify all the install directories when you create a .msi of your project.

    The VSI was a free download from Microsoft (probably still is).
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2010
    Posts
    88
    Rep Power
    5
    Sorry for the late reply, for some reason I did not reiceve the notifucation email of your post.

    I use Visual Studio 2010 for my programming
  10. #6
  11. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,453
    Rep Power
    4539
    Sorry, I don't know about installer packages for VS2010. There should be some mechanism to control the application install directory in the installer building program.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Posts
    1
    Rep Power
    0
    This is exactly what I'm trying to solve - did you get a solutions.

    Cheers,
    Dennis,


    Originally Posted by Spudgun01
    I am trying to change the default installation directory of my projects when I publish them, I can change the location to publish to but I seem to have no choice over where the published setup.exe actually puts the program, it usually ends up in a directory like the below:

    C:\Users\{username}\AppData\Local\Apps\2.0\94AY7RYC.XH4\AQ08EPTM.G5Z\semt..tion_0ca3ba092103ec96_0001.0001_1f0a55976f96 c9dc

    Also though not as important, is there anyway of outputing the published project as an MSI rather than a setup.exe and a folderof insallation files? I have seen a couple of suggestions for this but all required additional programs to have to be purchased first.

    Any ideas

    Many thanks
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2010
    Posts
    88
    Rep Power
    5
    Unfortunatly no I never did, I just worked out that if I make the directory I publish to be under Program Files then use a directory off of that to store my INI files and associated programs and files that my program needs to access that way I have some level of control over the program
  16. #9
  17. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2011
    Posts
    23
    Rep Power
    0

    did you look here


    Originally Posted by DennisMac
    This is exactly what I'm trying to solve - did you get a solutions.

    Cheers,
    Dennis,
    http://msdn.microsoft.com/en-us/library/206sadcd.aspx
  18. #10
  19. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2011
    Posts
    23
    Rep Power
    0

    did you look here


    Originally Posted by Spudgun01
    Unfortunatly no I never did, I just worked out that if I make the directory I publish to be under Program Files then use a directory off of that to store my INI files and associated programs and files that my program needs to access that way I have some level of control over the program
    http://msdn.microsoft.com/en-us/library/206sadcd.aspx

IMN logo majestic logo threadwatch logo seochat tools logo