Trying to create different profile for my explorer++ application.
The config.xml can be successfully moved.
But when the application terminates, a folder %COMPUTERNAME% is created under Profile.
[Launch]
ProgramExecutable=Explorer++\Explorer++.exe
DirectoryMoveOK=yes
SingleAppInstance=true
[FilesMove]
Profile\%COMPUTERNAME%\config.xml=%PAL:AppDir%\Explorer++
[FileWrite1]
Type=Replace
File=%PAL:DataDir%\Profile\%COMPUTERNAME%\config.xml
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%
Replace=%PAL:Drive%%PAL:PackagePartialDir%
[FileWrite2]
Type=Replace
File=%PAL:DataDir%\Profile\%COMPUTERNAME%\config.xml
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\
Any suggestions will be appreciated.
Thank you!
As you may observe in the manual (by the absence of a mention of environment variable substitution), the key in [FilesMove] does not at present support environment variable substitution. It seems reasonable to put it in, though.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Thanks for the reply Chris, as you suggested, it will be great to have it.
Thanks,