Installer just for changing environment variables - Advanced Installer Community
DKEENE
Posts: 2
Joined: Tue Aug 26, 2014 9:48 pm

Installer just for changing environment variables

Hello
Is there a type of project that is JUST for changing environment variables? I will string these together, but for this SETUP, I should not need an installation directory.
DK
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Installer just for changing environment variables

Hi and welcome to Advanced Installer forums,

Basically the steps are:
- create a Professional project type
- uncheck "Register product with Windows Installer" option from Product Details page
- go to Registry page and delete all values except one
- add a removal operation for the remaining registry value to be executed on install
- go to Dialogs page and remove FolderDlg
- go to Custom Actions page and move "Remove registry values" standard action after "Add resources" action group
- finally add your environment variable

Here's a sample project that implements this:
test.aip
(12.12 KiB) Downloaded 296 times
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DKEENE
Posts: 2
Joined: Tue Aug 26, 2014 9:48 pm

Re: Installer just for changing environment variables

Thank you very much!

Return to “Common Problems”