How to configure which folder should the software be installed / updated?

3

I followed the example of this question where it is explained how to configure my software to be updated automatically. I would like to know how to change in which folder this installation / update should occur.

For example, I would like my program to be installed in 'C:\MeuPrograma' and that the updates occurred in that directory.

    
asked by anonymous 18.05.2015 / 18:41

1 answer

0
  • Right click on your installation project in Solution Explorer and choose "View -> File System".
  • Select "Application Folder" in the window you opened.
  • In the "Properties Pane" area in Visual Studio there is a field called "DefaultLocation". Modify it to point to somewhere other than "Program Files".
  • The default value for the installation location is [ProgramFilesFolder] [Manufacturer] [ProductName]. There are some template variables that are queried when you compile the setup program. [ProgramFilesFolder] is the one that will point to the "Program Files" folder in an English version of Windows.

    NOTE: This is a full translation of the link for this same question in English.

        
    08.07.2015 / 20:03