JPP
Posts: 18
Joined: Wed Oct 28, 2015 4:34 pm

Setting public properties through command line

Hello, I'm trying to silently install through command line a package that I built in Advanced Installer. I don't know if I am not doing something wrong but it does not seem to take my properties into consideration. According to this, http://www.advancedinstaller.com/user-g ... iexec.html , I believe it should be possible to do so.

My project is setup as a single EXE setup, I don't know if it has anything to do with it. Here is the command line I'm trying to use:
C:\>2020.Platform.Applications.Update.Main_Generic_M.0.0.22214.37672 APPDIR="C:\test" UICONFIGUPDATEPATH="C:\2020\test\UiConfig" APPPOOLS="IdealSpaces" /i // /qn /log "c:\update.log"

I also tried with and without the added "//". Towards the end of the log file I do see:
"Property(S): EXE_CMD_LINE = /exenoupdates /exelang 0 /noprereqs APPDIR="C:\test" UICONFIGUPDATEPATH="C:\2020\test\UiConfig" APPPOOLS="IdealSpaces" /i // /qn /log "c:\update.log" "

but if I look at the individual properties or action performed using these properties, it is using the default values.

Thanks!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Setting public properties through command line

Hello,

Can you please use a tool like the Process Explorer to see the command line that is passed to the .MSI ?

Also, what properties have their default value? Are these properties listed in the Property table from the Table Editor page?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JPP
Posts: 18
Joined: Wed Oct 28, 2015 4:34 pm

Re: Setting public properties through command line

Hi Dan, turns out it I wasn't using the right properties, works like a charm when I do.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Setting public properties through command line

That's great,

I'm glad you got this working and thank you for your feedback.

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”