Is there any possibility to change directory (application specific directory) before launching the application?
I'm writing a launcher for an application already installed on the system in use. As I often have to change the settings (a lot of registry values) I exported them as set to files and would like to import them and then start the application automatically. So my PortableApp is not a real portable one, it's just a tool helping me to manage the different configurations.
This ... application doesn't start properly if the current directory is not set to the appropriate subfolder in %programfiles%
In a batch file I would just write
cd "%programfiles%\appldir"
"%programfiles%\appldir\appl.exe"
Is it possible to script this in NSIS?
Use the PortableApps.com Launcher. Then it's setting [Launch]:WorkingDirectory.
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 a lot, exactly I was looking for!