How can I set the defaultlocation to UserProfile (ex:C:/user/user)?

Taehyun Lee 0 Reputation points
2024-01-02T14:49:01.24+00:00

Hi
I use visual studio 2022 setup project.
스크린샷 2024-01-02 233845

I search in MSDN, but I cannot find the path to environment variables %USERPROFILE%
How can I set the installation folder to the userprofile?
(ex:C:/users/user It is different from every user)

Developer technologies | Visual Studio | Extensions
Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. RLWA32 49,636 Reputation points
    2024-01-02T15:19:11.2433333+00:00

    I suggest you set the application folder as shown here -

    LocalAppDataFolder


  2. Taehyun Lee 0 Reputation points
    2024-01-03T04:28:29.3366667+00:00

    Using [%USERPROFILE] can set the path.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.