Fellerson
Posts: 3
Joined: Fri Mar 24, 2023 7:48 am

Add Path system environment variable

Hi dear

i would like add a new environement variable in System Path
systemenviro.png
systemenviro.png (28.19 KiB) Viewed 3237 times
is it the right way to do it like below ? What should i put as component ? ty
MicrosoftTeams-image (5).png
MicrosoftTeams-image (5).png (7.8 KiB) Viewed 3237 times
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Add Path system environment variable

Hello and welcome to our forums,

That is indeed the correct way to achieve this.

Regarding the component, you should choose a component that is always installed so the env variable will always be added.

If you are not familiar with what a component is, I would suggest reading the following article from Microsoft:

Windows Installer Components

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”