Skip to content
⌘ NSIS Forum Archive

A few Q's

5 posts

Guest#

A few Q's

Hello,

just firing a few question in the hope to move onto this neat installer... 🙂

1. Is there a way to create an MSI package or only exe?

2. where can I find the full syntax/commands etc besides the few exaples?

3. Is there a way to run an NSIS installer in some sort of local/network admin mode so that we can push small installations via the loginscript without the need to give the user admin rights?

4. can I add vbscript into the installer or execute them with some sort of execute command?

I'm supposed to do repackaging of software to silent installations for an app deployment system so I guess this installer would do the job aswell if well scripted?

Thanks for any returned info!
Davion#
on 1st Q:
NSIS creates an Exe, imho an exe is better than a msi, because you don't have to think about different msiexec versions on the target systems

on 3rd Q:

try to use nopey (you find it in the NSIS Wiki) with the runas command

you can set the user and pwd with a parameter,
so this should do what you want

greetz Davion
Comperio#
Quick note on question #4 (VBScripts):
Many Antivirus and/or so-called "Security" software prevents execution of scripts and batch files. Not saying it won't work for what you are trying to achieve, but something to be aware of...
onad#
You can put the via NSIS created "Install.exe" in an custom action inside an almost empty MSI package. It is a heavy quest to get this working. I've done it but there is NO easy way to explain this procedure. Dive deep into MSI with ORCA first I would say.