I am writing a launcher for Zoner Photo Studio 18 (free version), it runs but few details must be set.
This application store preferences in the registry, and some of them reference the system disk path (%windir%).
In order to manage the system disk path (as %PAL.LastDrive%), I have added a LastWinDir entry in the AppNameSettings.ini.
I need to use the LastWinDir entry in the AppName.ini in [FileWriteN]:Type=Replace section.
How can I get LastWinDir entry in a %VARIABLE% (%PAL:LastWinDir% doesn't work) ?
You are here
PortableApps launcher and %windir% path
February 21, 2017 - 5:22am
#1
PortableApps launcher and %windir% path
This will require some custom code to get working. Checkout MyPaint Portable's custom.nsh module for its launcher. It stores a custom LastLocalAPPDATA in the INI and then sets it as an environment variable for use in replacements similar to how you want a LastWINDIR variable.
Sometimes, the impossible can become possible, if you're awesome!