Unattended install options

2 posters

Go down

Unattended install options Empty Unattended install options

Post by suprnova Wed Oct 26, 2016 9:24 pm

Not a huge deal, but /UNATTENDED isn't listed in the options when attempting to create a silent install package. Additionally, the .bat file that's created could use a small tweak that would greatly increase flexibility:

@echo Installing: K-Lite Codec Pack
@"K-Lite_Codec_Pack_1244_Basic.exe" /verysilent /norestart /LoadInf=".\klcp_basic_unattended.ini"
@echo Done!


@echo off
echo Installing: K-Lite Codec Pack
"%~dp0K-Lite_Codec_Pack_1244_Basic.exe" /verysilent /norestart /LoadInf="%~dp0klcp_basic_unattended.ini"
echo Done!

%~dp0 is replaced by the full path of where the .bat/.cmd file is located (including a trailing "\")

This way, it doesn't matter how the script is run, as long as the installation executable is in the same path, it'll find it.


Posts : 1
Join date : 2016-10-26

Back to top Go down

Unattended install options Empty Re: Unattended install options

Post by Admin Thu Oct 27, 2016 6:51 pm

Which options do you mean? The ones shown for /help and /? are generic parameters for InnoSetup.

Thanks for the tip!


Posts : 7451
Join date : 2011-06-17


Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum