Seite 1 von 1

opsi-setup-detector: setup.opsiscript NSIS InstallBatch-String Zeile 92

Verfasst: 03 Aug 2017, 15:16
von fredfanatics
Alle Versuche, meine NSIS-paketierten Programme in ein bestimmtes Verzeichnis zu installieren schlugen fehl, bis ich in der Doku von NSIS
/D sets the default installation directory ($INSTDIR), overriding InstallDir and InstallDirRegKey. It must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces. Only absolute paths are supported.
las.
Ich habe daraufhin im Script das Einfügen der Anführungszeichen rausgenommen, dann geht's.
Wäre schön, wenn das anpasst werden würde.

Grüße

Fred

Re: opsi-setup-detector: setup.opsiscript NSIS InstallBatch-String Zeile 92

Verfasst: 04 Aug 2017, 15:37
von SisterOfMercy
Yep, this is one weird thing. My template for NSIS looks like this for a few years now:

"%ScriptPath%\files\Setup32.exe" /S /D=$InstallDir32$

Don't forget that there are NSIS setup programs where you can never set the InstallDir correctly, because something is missing in the NSIS script.

Re: opsi-setup-detector: setup.opsiscript NSIS InstallBatch-String Zeile 92

Verfasst: 09 Aug 2017, 11:59
von n.wenselowski
Hallo Fred,
fredfanatics hat geschrieben:Ich habe daraufhin im Script das Einfügen der Anführungszeichen rausgenommen, dann geht's.
Wäre schön, wenn das anpasst werden würde.
Danke für den Bugreport.
Ich habe ein internes Ticket zur Behebung aufgemacht.


Viele Grüße

Niko