Prev Previous Post   Next Post Next
Old 4th May 2020, 03:41   #1
Fenrirthviti
Junior Member
 
Join Date: May 2020
Posts: 2
InstallLib - Pass Flags

Hello! After several hours of searching, googling, experimenting, etc. I have come to here as a last resort. I'm building an installer that registers a .dll file, but this .dll has a flag that can be passed to change the end result when it is registered. I cannot find any way to pass this flag using InstallLib. It appears to be possible using Exec, but all the documentation and all the guides/wiki/forum posts/stackoverflow/etc. etc. all say that we should not be using Exec anymore, and InstallLib is "more versatile and has more flexibility". I am not finding this to be the case, as I don't seem to have control over the flags being sent.

As an example of what I need to be able to do:

code:
regsvr32 /n /i:"2" "c:\temp\my.dll"


Is there a way to do this using InstallLib, or should I just use Exec instead?
Fenrirthviti is offline   Reply With Quote
 
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