VLC MSI Error launching installer

Antworten
admin@gzbg.de
Beiträge: 11
Registriert: 09 Dez 2013, 17:01

VLC MSI Error launching installer

Beitrag von admin@gzbg.de »

Hallo,

bekomme folgenden Fehler, wenn ich das Original-MSI-File von Videolan (http://www.vlc.de/vlc_download_msi.php) mit dem nachfolgenden Skript versuche zu installieren:
Popupfehler "Error launching installer"

Skript setup.ins:
-----------------
[Actions]
DefVar $ProductId$
Set $ProductId$ = "vlc"
DefVar $MsiLogFile$
Set $MsiLogFile$ = "C:\tmp\" + $ProductId$ + ".log"
DefVar $ExitCode$

winbatch_install
sub_check_exitcode

[winbatch_install]
msiexec /i "%ScriptPath%\$ProductId$.msi" /qb-! /l* ALLUSERS=2 $MsiLogFile$ REBOOT=ReallySuppress

[sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library ... S.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products
that are currently installed.
Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641
ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has
initiated a restart. This message is indicative of a success."
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010
ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is
required to complete the install. This message is indicative of a success."
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$ isFatalError
endif
endif
endif
endif
------------------

Dateien:
setup.ins
vlc.msi
vlc-2.1.5-win32.exe

Logfile:
=== Logging started: 06.11.2014 17:19:08 ===
Action start 17:19:08: INSTALL.
Action start 17:19:08: LaunchConditions.
Action ended 17:19:08: LaunchConditions. Return value 1.
Action start 17:19:08: FindRelatedProducts.
Action ended 17:19:08: FindRelatedProducts. Return value 0.
Action start 17:19:08: AppSearch.
Action ended 17:19:08: AppSearch. Return value 0.
Action start 17:19:08: ValidateProductID.
Action ended 17:19:08: ValidateProductID. Return value 1.
Action start 17:19:08: CostInitialize.
Action ended 17:19:08: CostInitialize. Return value 1.
Action start 17:19:08: ResolveSource.
Action ended 17:19:08: ResolveSource. Return value 1.
Action start 17:19:08: FileCost.
Action ended 17:19:08: FileCost. Return value 1.
Action start 17:19:08: CostFinalize.
Action ended 17:19:08: CostFinalize. Return value 1.
Action start 17:19:08: SetODBCFolders.
Action ended 17:19:08: SetODBCFolders. Return value 0.
Action start 17:19:08: MigrateFeatureStates.
Action ended 17:19:08: MigrateFeatureStates. Return value 0.
Action start 17:19:08: InstallValidate.
Action ended 17:19:08: InstallValidate. Return value 1.
Action start 17:19:08: RemoveExistingProducts.
Action ended 17:19:08: RemoveExistingProducts. Return value 0.
Action start 17:19:08: InstallInitialize.
Action ended 17:19:08: InstallInitialize. Return value 1.
Action start 17:19:08: ProcessComponents.
Action ended 17:19:08: ProcessComponents. Return value 1.
Action start 17:19:08: UnpublishComponents.
Action ended 17:19:08: UnpublishComponents. Return value 1.
Action start 17:19:08: UnpublishFeatures.
Action ended 17:19:08: UnpublishFeatures. Return value 1.
Action start 17:19:08: StopServices.
Action ended 17:19:08: StopServices. Return value 1.
Action start 17:19:08: DeleteServices.
Action ended 17:19:08: DeleteServices. Return value 1.
Action start 17:19:08: UnregisterComPlus.
Action ended 17:19:08: UnregisterComPlus. Return value 0.
Action start 17:19:08: SelfUnregModules.
Action ended 17:19:08: SelfUnregModules. Return value 1.
Action start 17:19:08: UnregisterTypeLibraries.
Action ended 17:19:08: UnregisterTypeLibraries. Return value 0.
Action start 17:19:08: RemoveODBC.
Action ended 17:19:08: RemoveODBC. Return value 1.
Action start 17:19:08: UnregisterFonts.
Action ended 17:19:08: UnregisterFonts. Return value 1.
Action start 17:19:08: RemoveRegistryValues.
Action ended 17:19:08: RemoveRegistryValues. Return value 1.
Action start 17:19:08: UnregisterClassInfo.
Action ended 17:19:08: UnregisterClassInfo. Return value 0.
Action start 17:19:08: UnregisterExtensionInfo.
Action ended 17:19:08: UnregisterExtensionInfo. Return value 0.
Action start 17:19:08: UnregisterProgIdInfo.
Action ended 17:19:08: UnregisterProgIdInfo. Return value 0.
Action start 17:19:08: UnregisterMIMEInfo.
Action ended 17:19:08: UnregisterMIMEInfo. Return value 0.
Action start 17:19:08: RemoveIniValues.
Action ended 17:19:08: RemoveIniValues. Return value 1.
Action start 17:19:08: RemoveShortcuts.
Action ended 17:19:08: RemoveShortcuts. Return value 0.
Action start 17:19:08: RemoveEnvironmentStrings.
Action ended 17:19:08: RemoveEnvironmentStrings. Return value 1.
Action start 17:19:08: RemoveDuplicateFiles.
Action ended 17:19:08: RemoveDuplicateFiles. Return value 1.
Action start 17:19:08: RemoveFiles.
Action ended 17:19:08: RemoveFiles. Return value 0.
Action start 17:19:08: RemoveFolders.
Action ended 17:19:08: RemoveFolders. Return value 0.
Action start 17:19:08: CreateFolders.
Action ended 17:19:08: CreateFolders. Return value 0.
Action start 17:19:08: MoveFiles.
Action ended 17:19:08: MoveFiles. Return value 1.
Action start 17:19:08: InstallFiles.
Action ended 17:19:08: InstallFiles. Return value 1.
Action start 17:19:08: PatchFiles.
Action ended 17:19:08: PatchFiles. Return value 0.
Action start 17:19:08: DuplicateFiles.
Action ended 17:19:08: DuplicateFiles. Return value 1.
Action start 17:19:08: BindImage.
Action ended 17:19:08: BindImage. Return value 1.
Action start 17:19:08: CreateShortcuts.
Action ended 17:19:08: CreateShortcuts. Return value 0.
Action start 17:19:08: RegisterClassInfo.
Action ended 17:19:08: RegisterClassInfo. Return value 0.
Action start 17:19:08: RegisterExtensionInfo.
Action ended 17:19:08: RegisterExtensionInfo. Return value 0.
Action start 17:19:08: RegisterProgIdInfo.
Action ended 17:19:08: RegisterProgIdInfo. Return value 0.
Action start 17:19:08: RegisterMIMEInfo.
Action ended 17:19:08: RegisterMIMEInfo. Return value 0.
Action start 17:19:08: WriteRegistryValues.
Action ended 17:19:08: WriteRegistryValues. Return value 1.
Action start 17:19:08: WriteIniValues.
Action ended 17:19:08: WriteIniValues. Return value 1.
Action start 17:19:08: WriteEnvironmentStrings.
Action ended 17:19:08: WriteEnvironmentStrings. Return value 1.
Action start 17:19:08: RegisterFonts.
Action ended 17:19:08: RegisterFonts. Return value 1.
Action start 17:19:08: InstallODBC.
Action ended 17:19:08: InstallODBC. Return value 0.
Action start 17:19:08: RegisterTypeLibraries.
Action ended 17:19:08: RegisterTypeLibraries. Return value 0.
Action start 17:19:08: SelfRegModules.
Action ended 17:19:08: SelfRegModules. Return value 1.
Action start 17:19:08: RegisterComPlus.
Action ended 17:19:08: RegisterComPlus. Return value 0.
Action start 17:19:08: InstallServices.
Action ended 17:19:08: InstallServices. Return value 1.
Action start 17:19:08: StartServices.
Action ended 17:19:08: StartServices. Return value 1.
Action start 17:19:08: RegisterUser.
Action ended 17:19:08: RegisterUser. Return value 0.
Action start 17:19:08: RegisterProduct.
Action ended 17:19:08: RegisterProduct. Return value 1.
Action start 17:19:08: PublishComponents.
Action ended 17:19:08: PublishComponents. Return value 1.
Action start 17:19:08: PublishFeatures.
Action ended 17:19:08: PublishFeatures. Return value 1.
Action start 17:19:08: PublishProduct.
Action ended 17:19:08: PublishProduct. Return value 1.
Action start 17:19:08: WIWW_InstallCommand1.
Action ended 17:19:08: WIWW_InstallCommand1. Return value 1.
Action start 17:19:08: WIWW_InstallParam1.
Action ended 17:19:08: WIWW_InstallParam1. Return value 1.
Action start 17:19:08: InstallFinalize.
Action ended 17:19:10: InstallFinalize. Return value 1.
Action ended 17:19:10: INSTALL. Return value 1.
Property(S): BannerBitmap = bannrbmp
Property(S): TARGETDIR = D:\
Property(S): COMPANYNAME = Glaubenszentrum
Property(S): IAgree = No
Property(S): USERNAME = EDV
Property(S): Installed = 00:00:00
Property(S): ProductID = none
Property(S): VersionNT = 501
Property(S): ARPHELPLINK = http://www.vinsvision.com
Property(S): Manufacturer = http://www.vinsvision.com
Property(S): ButtonText_Back = < &Back
Property(S): ButtonText_Browse = Br&owse
Property(S): ButtonText_Cancel = Cancel
Property(S): ButtonText_Exit = &Exit
Property(S): ButtonText_Finish = &Finish
Property(S): ButtonText_Ignore = &Ignore
Property(S): ButtonText_Install = &Install
Property(S): ButtonText_Next = &Next >
Property(S): ButtonText_No = &No
Property(S): ButtonText_OK = OK
Property(S): ButtonText_Remove = &Remove
Property(S): ButtonText_Repair = &Repair
Property(S): ButtonText_Reset = &Reset
Property(S): ButtonText_Resume = &Resume
Property(S): ButtonText_Retry = &Retry
Property(S): ButtonText_Return = &Return
Property(S): ButtonText_Yes = &Yes
Property(S): CompleteSetupIcon = completi
Property(S): ComponentDownload = ftp://anonymous@microsoft.com/components/
Property(S): CustomSetupIcon = custicon
Property(S): DefaultUIFont = DlgFont8
Property(S): DialogBitmap = dlgbmp
Property(S): DlgTitleFont = {&DlgFontBold8}
Property(S): ErrorDialog = ErrorDlg
Property(S): ExclamationIcon = exclamic
Property(S): InfoIcon = info
Property(S): InstallerIcon = insticon
Property(S): INSTALLLEVEL = 3
Property(S): InstallMode = Typical
Property(S): PIDTemplate = 12345<###-%%%%%%%>@@@@@
Property(S): ProductLanguage = 1031
Property(S): Progress1 = Installing
Property(S): Progress2 = installs
Property(S): PROMPTROLLBACKCOST = P
Property(S): RemoveIcon = removico
Property(S): RepairIcon = repairic
Property(S): Setup = Setup
Property(S): ShowUserRegistrationDlg = 1
Property(S): Wizard = Setup Wizard
Property(S): UpgradeCode = {CE6DC6EA-9BE8-49C6-A79A-CB9FCB0EEAC8}
Property(S): WIWWVersion = 0.2.0.0
Property(S): ARPCOMMENTS = This package was created using the Windows Installer Wrapper Wizard.
Property(S): ARPCONTACT = Your local administrator.
Property(S): ARPURLINFOABOUT = http://www.vinsvision.com
Property(S): ProductName = VLC.de Media Player
Property(S): ProductCode = {9FB5CB2D-8404-4D3D-849E-4179FFCAE6D2}
Property(S): ProductVersion = 1.0.0
Property(S): TempFolder = C:\WINDOWS\TEMP\
Property(S): SourceDir = P:\vlc\
Property(S): WindowsFolder = C:\WINDOWS\
Property(S): SystemFolder = C:\WINDOWS\system32\
Property(S): SecureCustomProperties = NEWPRODUCTFOUND
Property(S): InstallAction = P:\vlc\vlc-2.1.5-win32.exe
Property(S): PackageCode = {9FB5CB2D-8404-4D3D-849E-4179FFCAE6D2}
Property(S): ProductState = 5
Property(S): ProductToBeRegistered = 1
Property(S): ALLUSERS = 1
Property(S): REBOOT = ReallySuppress
Property(S): CURRENTDIRECTORY = C:\WINDOWS\system32
Property(S): CLIENTUILEVEL = 2
Property(S): CLIENTPROCESSID = 3744
Property(S): PRODUCTLANGUAGE = 1031
Property(S): VersionDatabase = 110
Property(S): VersionMsi = 3.01
Property(S): WindowsBuild = 2600
Property(S): ServicePackLevel = 3
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 1
Property(S): WindowsVolume = C:\
Property(S): System16Folder = C:\WINDOWS\system\
Property(S): RemoteAdminTS = 1
Property(S): ProgramFilesFolder = C:\Programme\
Property(S): CommonFilesFolder = C:\Programme\Gemeinsame Dateien\
Property(S): CommonAppDataFolder = C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\
Property(S): AdminToolsFolder = C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\Verwaltung\
Property(S): StartupFolder = C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\Autostart\
Property(S): ProgramMenuFolder = C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\
Property(S): StartMenuFolder = C:\Dokumente und Einstellungen\All Users\Startmenü\
Property(S): DesktopFolder = C:\Dokumente und Einstellungen\All Users\Desktop\
Property(S): TemplateFolder = C:\Dokumente und Einstellungen\All Users\Vorlagen\
Property(S): FontsFolder = C:\WINDOWS\Fonts\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): Intel = 15
Property(S): PhysicalMemory = 1270
Property(S): VirtualMemory = 2034
Property(S): AdminUser = 1
Property(S): LogonUser = pcpatch
Property(S): UserSID = S-1-5-21-2000478354-1935655697-1606980848-1163
Property(S): UserLanguageID = 1031
Property(S): ComputerName = ADMIN2
Property(S): SystemLanguageID = 1031
Property(S): ScreenX = 1440
Property(S): ScreenY = 900
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 17:19:10
Property(S): Date = 06.11.2014
Property(S): MsiNetAssemblySupport = 4.0.30319.1
Property(S): MsiWin32AssemblySupport = 5.1.2600.5512
Property(S): RedirectedDllSupport = 2
Property(S): Privileged = 1
Property(S): DATABASE = C:\WINDOWS\Installer\6e0528.msi
Property(S): OriginalDatabase = P:\vlc\vlc.msi
Property(S): UILevel = 3
Property(S): MsiUIProgressOnly = 1
Property(S): MsiUIHideCancel = 1
Property(S): ACTION = INSTALL
Property(S): ROOTDRIVE = D:\
Property(S): CostingComplete = 1
Property(S): SOURCEDIR = P:\vlc\
Property(S): SourcedirProduct = {9FB5CB2D-8404-4D3D-849E-4179FFCAE6D2}
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
MSI (s) (84:40) [17:19:10:078]: Product: VLC.de Media Player -- Configuration completed successfully.

=== Logging stopped: 06.11.2014 17:19:10 ===

Das Logfile macht den Anschein als wenn alles okay durchgelaufen wäre. Aber tatsächlich passiert nichts.

Hat jemand eine Idee worin der Fehler liegen könnte?

Liebe Grüße
mensch90
Beiträge: 130
Registriert: 27 Jul 2013, 16:52

Re: VLC MSI Error launching installer

Beitrag von mensch90 »

Ggf siehe hier? Dort arbeite ich zwar per Exe...

viewtopic.php?f=7&t=6093
admin@gzbg.de
Beiträge: 11
Registriert: 09 Dez 2013, 17:01

Re: VLC MSI Error launching installer

Beitrag von admin@gzbg.de »

Hallo,

das mit dem Dateinamen habe ich berücksichtigt. Das Problem besteht allerdings weiterhin.

Hat sonst jemand noch eine Idee?

Gruß Ruben
Benutzeravatar
koepkek
uib-Team
Beiträge: 257
Registriert: 11 Jan 2012, 11:27

Re: VLC MSI Error launching installer

Beitrag von koepkek »

Hi

versuche statt

Code: Alles auswählen

[winbatch_install]
msiexec /i "%ScriptPath%\$ProductId$.msi" /qb-! /l* ALLUSERS=2 $MsiLogFile$ REBOOT=ReallySuppress

Code: Alles auswählen

[winbatch_install]
msiexec /i "%ScriptPath%\$ProductId$.msi" /qb! ALLUSERS=2 REBOOT=ReallySuppress
Gruß Karsten Köpke


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


admin@gzbg.de
Beiträge: 11
Registriert: 09 Dez 2013, 17:01

Re: VLC MSI Error launching installer

Beitrag von admin@gzbg.de »

Hallo Karsten,

wenn ich es lokal mit dem OPSI-WINST probiere dann funktioniert es einwandfrei.
Wenn ich es allerdings auf dem Server deploye, dann bekomme ich den NSIS-Fehler: Error launching installer

Gruß Ruben
Benutzeravatar
koepkek
uib-Team
Beiträge: 257
Registriert: 11 Jan 2012, 11:27

Re: VLC MSI Error launching installer

Beitrag von koepkek »

Hallo Ruben

versuche es mal mit

ChangeDirectory "%SCRIPTPATH%"
vor den Zeilen im Script
Winbatch_install
Sub_check_exitcode

Ansonsten könnte man die Installations-Dateien erst lokal auf den Rechner kopieren und dann die Installation von dort starten.

Und die letzte und aufwändigste Lösung wäre die Verwendung des opsi-template-with-admin. Das deswegen, weil du schreibst, dass bei einem händisch Aufgerufenen Winst (es ist also ein Benutzer angemeldet) die Installation erfolgreich durchläuft.

Viel Glück
Karsten


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: VLC MSI Error launching installer

Beitrag von wolfbardo »

Hallo Ruben,


wenn das vom Hersteller angebotene msi unter opsi
admin@gzbg.de hat geschrieben:NSIS-Fehler: Error launching installer
wirft, dann sieht es so aus, als wäere das ein fake-msi um die Originasetup.exe
Daher würde ich doch die Originalexe des Hersteller verwenden und z.B. mit dem setupdetector paketieren.

Gruss
Bardo Wolf


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten