The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages - More
> Visual Basic Programming
|
Change Published Project Install Directory
Discuss Change Published Project Install Directory in the Visual Basic Programming forum on Dev Shed. Change Published Project Install Directory Visual Basic Programming forum discussing VB specific programming information. Quickly prototype and build applications with this robust and simple language.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

November 25th, 2010, 09:19 AM
|
|
Contributing User
|
|
Join Date: Mar 2010
Posts: 88
Time spent in forums: 10 h 48 m 31 sec
Reputation Power: 4
|
|
|
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
|

November 28th, 2010, 04:40 PM
|
|
|
|
where else would you want it?
Quote: | 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)
|

November 29th, 2010, 02:05 AM
|
|
Contributing User
|
|
Join Date: Mar 2010
Posts: 88
Time spent in forums: 10 h 48 m 31 sec
Reputation Power: 4
|
|
|
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.
|

November 29th, 2010, 04:53 PM
|
|
|
|
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
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi
|

December 21st, 2010, 09:44 AM
|
|
Contributing User
|
|
Join Date: Mar 2010
Posts: 88
Time spent in forums: 10 h 48 m 31 sec
Reputation Power: 4
|
|
|
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
|

December 21st, 2010, 07:17 PM
|
|
|
|
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.
|

November 20th, 2011, 06:42 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 1
Time spent in forums: 21 m 59 sec
Reputation Power: 0
|
|
This is exactly what I'm trying to solve - did you get a solutions.
Cheers,
Dennis,
Quote: | 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 |
|

November 21st, 2011, 04:43 AM
|
|
Contributing User
|
|
Join Date: Mar 2010
Posts: 88
Time spent in forums: 10 h 48 m 31 sec
Reputation Power: 4
|
|
|
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
|

December 7th, 2011, 06:20 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 23
Time spent in forums: 4 h 48 m 40 sec
Reputation Power: 0
|
|
|
did you look here
Quote: | 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
|

December 7th, 2011, 06:21 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 23
Time spent in forums: 4 h 48 m 40 sec
Reputation Power: 0
|
|
|
did you look here
Quote: | 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
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|