How can I install my program files into "C:/Program Files/"?  
Author Message
Evan Mulawski





PostPosted: ClickOnce and Setup & Deployment Projects, How can I install my program files into "C:/Program Files/"? Top

How can I install my program files into "C:/Program Files/"


Windows Forms3  
 
 
Michael Sync





PostPosted: ClickOnce and Setup & Deployment Projects, How can I install my program files into "C:/Program Files/"? Top

How can I install my program files into "C:/Program Files/"

Are you creating setup of your program
If yes, there are some options to select the Program File of Target Machine in "File System(Setup) Panel".
-
Right Click on "File Sytem of Target Machine" Note
Ob: The Program File Folder will be shown in Content Menu.

Enviroment variable for Programfile is "%PROGRAMFILES%".



 
 
wizkid1





PostPosted: ClickOnce and Setup & Deployment Projects, How can I install my program files into "C:/Program Files/"? Top

Where do I do this

 
 
PhilDWilson





PostPosted: ClickOnce and Setup & Deployment Projects, How can I install my program files into "C:/Program Files/"? Top

If this is a setup project, select the project in solution explorer, then View, Editor, File System. The folder Application Folder is by default set up to be located in the Program Files folder \Manufacture\ProductName.

 
 
wizkid1





PostPosted: ClickOnce and Setup & Deployment Projects, How can I install my program files into "C:/Program Files/"? Top

Where is Editor in VCS2005Express Edition

 
 
PhilDWilson





PostPosted: ClickOnce and Setup & Deployment Projects, How can I install my program files into "C:/Program Files/"? Top

I believe that Express editions of Visual Studio don't have Setup&Deployment projects. You need something else to build a setup.

 
 
David Guyer MS





PostPosted: ClickOnce and Setup & Deployment Projects, How can I install my program files into "C:/Program Files/"? Top

In VCS Express only ClickOnce deployment is included. ClickOnce doesn't allow you to control where it is installed. There's quite a few reasons for it, and searching MSDN for ClickOnce documentation will help explain it better than I can.

Some of the reasons include:

Enables ClickOnce to manage the "Cache", Rollbacks, and such.
Enables ClickOnce to work when you aren't an admin on the machine, and you can't install to C:\program files