Change EXE ico from CLI mode - Advanced Installer Community
zolterod
Posts: 3
Joined: Thu Jul 09, 2015 10:40 pm

Change EXE ico from CLI mode

Hi all,

Please help in me little problem.
I use Advanced Installer cli mode advinst.exe to build me project.
I read all documentation, and not find "what command (property) need use, to change EXE icon"

Image

Please help
zolterod
Posts: 3
Joined: Thu Jul 09, 2015 10:40 pm

Re: Change EXE ico from CLI mode

And 2 question:

from example. I run installer from me arguments:

installer.exe -test 1 -test2 -testarg

How I can add this arguments (-test 1 -test2 -testarg) to registry or write file in project root folder (text file, ini, etc)
To further use it in other software

"-test 1 -test2 -testarg" - example date, I would like to set it from start
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Change EXE ico from CLI mode

Hello,

I'm afraid we don't have command line support to set the EXE setup icon. Also, as a side note, when using our command line support you should call the "AdvancedInstaller.com" file instead of the "advinst.exe" file.

To save your setup arguments into a registry value you can use a public property which will be set from command line like this:

Code: Select all

installer.exe ARGUMENTS_PROP="-test 1 -test2 -testarg"
Then, you can add a new registry value in "Registry" page whose "Value" field will be set to the formatted reference (e.g. [ARGUMENTS_PROP]) of the "ARGUMENTS_PROP" property.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”