Old 16th August 2019, 21:11   #1
net_tech
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
net_tech is offline   Reply With Quote
Old 17th August 2019, 02:11   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,185
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
Anders is offline   Reply With Quote
Old 17th August 2019, 02:40   #3
net_tech
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 ?
net_tech is offline   Reply With Quote
Old 17th August 2019, 02:44   #4
net_tech
Junior Member
 
Join Date: Aug 2019
Posts: 6
Edit: found a few references to Memento here

https://nsis-dev.github.io/NSIS-Foru.../t-295233.html
net_tech is offline   Reply With Quote
Old 17th August 2019, 09:16   #5
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,185
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
Anders is offline   Reply With Quote
Old 17th August 2019, 15:54   #6
net_tech
Junior Member
 
Join Date: Aug 2019
Posts: 6
Are you saying if I can capture the reg value being changed during the install process using promon I can push the reg settings to all systems before running the installer silently and have all the features I need selected?
net_tech is offline   Reply With Quote
Old 17th August 2019, 17:28   #7
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,185
See if it writes the "MementoSectionUsed" value to determine if Memento is used.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 17th August 2019, 17:55   #8
net_tech
Junior Member
 
Join Date: Aug 2019
Posts: 6
here is the installer

https://www.voip.evolveip.net/dms/bc...econnector.exe
net_tech is offline   Reply With Quote
Old 17th August 2019, 18:07   #9
net_tech
Junior Member
 
Join Date: Aug 2019
Posts: 6
dont think it does, at least filtering the events for Path contains NSIS shows no results
net_tech is offline   Reply With Quote
Old 17th August 2019, 22:22   #10
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,185
Quote:
Originally Posted by net_tech View Post
dont think it does, at least filtering the events for Path contains NSIS shows no results
I said "MementoSectionUsed".

Either way, contacting the author is the best option.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump