PDA

Click to See Complete Forum and Search --> : [RESOLVED] Setup Project in Visual problem


Pc_Not_Mac
Mar 26th, 2010, 08:31 PM
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.

jmcilhinney
Mar 27th, 2010, 07:32 AM
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.

Hack
Mar 27th, 2010, 07:39 AM
Moved To Application Deployment

Pc_Not_Mac
Mar 29th, 2010, 02:06 PM
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

Process.Start(My.Application.Info.DirectoryPath & "\smallgoogle.exe")

Thank you :wave: