UNINSTALLLINK and updates

Got a problem you cannot solve? Try here.
Dany
Posts: 13
Joined: Mon Feb 22, 2016 6:58 am

UNINSTALLLINK and updates

Postby Dany » Sun Feb 28, 2016 8:11 am

Hello!

I created a Win32 project from the template checked "Receive Application Updates" and entered a valid URL.

When an installation is uninstalled (REMOVE) the directory specified in $UNINSTALLLINK$ (on my test machine C:\ProgramData\{REVISIONCODEGUID}) gets renamed to ~7 (or another number) and those directories are removed at the next reboot. Nice.

When an upgrade to the next version is done, however, the directory never gets renamed. Probably because the update is ran in a spawned installer process.

Eventually the target system ends up with one directory per update and that will build up until the disk is full. Should be easy to reproduce.

Oh, and i have searched but only came up with posts regarding this issue and reboots, not updates. Also, it would be interesting to know if it is possible to prepend the GUID with $COMPANY$ so as to hold these things a bit more together. But i could not find out how or when this variable is created.

TIA,

/Dany

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: UNINSTALLLINK and updates

Postby FrancescoT » Mon Feb 29, 2016 2:21 pm

Dear Dany,

you may try to use the "OVERRIDECACHE" pre-defined variable.
"Overriding the value of this variable allows changing the installer cache location" (see IA documentation for more details)

However, it's not possible to change the name of the folder that will contain the setup cached.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 113 guests