Remove environment variable on UN-installation of MSI - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

nkm
Posts: 3
Joined: Wed May 23, 2012 7:14 am

Remove environment variable on UN-installation of MSI

Hi,
I have created new MSI and set environment variable(env-var) .When we install MSI then it install the default location C:\Program File\[Manufacturer] and set the environment variable according to it.During UN-installation of MSI it removes env-var successfully.
Problem Occurs when we change the installation location for Ex. D:\Program File\[Manufacturer] then it not removes the set environment variable.
While check box (remove on Uninstall)already checked.

Thanks
NKM
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Remove environment variable on UN-installation of MSI

Hello and welcome to Advanced Installer forums,

Can you please post a screen shot of your environment variable's settings? Also, can you please include a verbose log of the unsuccessful uninstallation?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nkm
Posts: 3
Joined: Wed May 23, 2012 7:14 am

Re: Remove environment variable on UN-installation of MSI

Theses are the environment variable setting which is not removing during UN-installation of MSI.
Last edited by nkm on Mon Jun 04, 2012 7:25 am, edited 1 time in total.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Remove environment variable on UN-installation of MSI

Hello,

Initially you mentioned only one environment variable was behaving this way. I was referring to post its settings from "Edit Environment Variable Dialog" so we can see what you mean, not the environment variable list from the Environment page.

Better yet you can send us the whole .AIP file and verbose log in an e-mail to support at advancedinstaller dot com.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nkm
Posts: 3
Joined: Wed May 23, 2012 7:14 am

Re: Remove environment variable on UN-installation of MSI

Hello Forums ,
I have mailed the .aip file and log files at support at advancedinstaller dot com.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Remove environment variable on UN-installation of MSI

Hello,

To fix this, you can try to enable the "Create folder on target machine" option from the "Properties" context menu of the "Application Folder" in "Files and Folders page".

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”