[wix-users] Getting JSON Settings File to Survive Major Upgrade
Rob Mensching
rob at firegiant.com
Tue Dec 21 14:32:41 PST 2021
Easiest solution: Read settings (if they exist) very early, write settings out always (new or from previous install).
- - - - - - - - - - - - - - -
I provide short answers on wix-users. Full commercial support is offered by FireGiant at http://www.firegiant.com/services
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Bevan Weiss via wix-users
Sent: Tuesday, December 21, 2021 2:00 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Bevan Weiss <bevan.weiss at gmail.com>
Subject: Re: [wix-users] Getting JSON Settings File to Survive Major Upgrade
Surviving Major Upgrade but still disappearing at the end of use seems like a tough challenge.
I've got a bad solution.
On uninstall register a RunOnce action to delete the files/folder.
On install remove any such RunOnce entry.
I'm probably wrong, but I've always consider major upgrade just an uninstall->reinstall with some installer settings migrated across. So this would survive such a process.
There's likely a better solution though.
Regards,
Bevan
More information about the wix-users
mailing list