![]() |
#1 |
Junior Member
Join Date: Aug 2019
Posts: 6
|
silent installeroptions
Hi,
I am looking to silently install a custom software app that was packaged with NSIS. I was able to do a silent installation using the /S option, however by default the installer does not install some of the advanced features that I need. So I am wondering if there is a way to supply the installation option when using the silent installer switch. Thanks |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
NSIS only supports /S and /D= by default.
If the installer uses "Memento" you could trick it with fake registry entries, otherwise you have to ask the installer author. IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Aug 2019
Posts: 6
|
Anders,
Thanks for getting back. How can I tell if the installer is using Memento? In case it does, are the tricking methods posted somewhere ? |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Aug 2019
Posts: 6
|
|
![]() |
![]() |
![]() |
#5 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Memento writes the chosen Sections(Components) to the registry. If you run the installer again after installing, the same components should be selected. If not, it is not using Memento.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#7 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
See if it writes the "MementoSectionUsed" value to determine if Memento is used.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Aug 2019
Posts: 6
|
|
![]() |
![]() |
![]() |
#9 |
Junior Member
Join Date: Aug 2019
Posts: 6
|
dont think it does, at least filtering the events for Path contains NSIS shows no results
|
![]() |
![]() |
![]() |
#10 | |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Quote:
Either way, contacting the author is the best option. IntOp $PostCount $PostCount + 1 |
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|