Toon posts:

[XP] Windows installer geeft alleen help-window weer

Pagina: 1
Acties:

Verwijderd

Topicstarter
Op het moment dat ik een installatie wil uitvoeren met behulp van de windows installer krijg ik alleen een venster te zien met alle commandline options van windows installer, maar hij wil niet starten.

Iemand idee hoe dit te verhelpen. Het scherm dat ik te zien krijg ipv dat het geinstalleerd wordt is het volgende:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Windows ® Installer. V 3.01.4000.1823 

msiexec /Option <Required Parameter> [Optional Parameter]

Install Options
    </package | /i> <Product.msi>
        Installs or configures a product
    /a <Product.msi>
        Administrative install - Installs a product on the network
    /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
        Advertises a product - m to all users, u to current user
    </uninstall | /x> <Product.msi | ProductCode>
        Uninstalls the product
Display Options
    /quiet
        Quiet mode, no user interaction
    /passive
        Unattended mode - progress bar only
    /q[n|b|r|f]
        Sets user interface level
        n - No UI
        b - Basic UI
        r - Reduced UI
        f - Full UI (default)
    /help
        Help information
Restart Options
    /norestart
        Do not restart after the installation is complete
    /promptrestart
        Prompts the user for restart if necessary
    /forcerestart
        Always restart the computer after installation
Logging Options
    /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>
        i - Status messages
        w - Nonfatal warnings
        e - All error messages
        a - Start up of actions
        r - Action-specific records
        u - User requests
        c - Initial UI parameters
        m - Out-of-memory or fatal exit information
        o - Out-of-disk-space messages
        p - Terminal properties
        v - Verbose output
        x - Extra debugging information
        + - Append to existing log file
        ! - Flush each line to the log
        * - Log all information, except for v and x options
    /log <LogFile>
        Equivalent of /l* <LogFile>
Update Options
    /update <Update1.msp>[;Update2.msp]
        Applies update(s)
    /uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode>
        Remove update(s) for a product
Repair Options
    /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
        Repairs a product
        p - only if file is missing
        o - if file is missing or an older version is installed (default)
        e - if file is missing or an equal or older version is installed
        d - if file is missing or a different version is installed
        c - if file is missing or checksum does not match the calculated value
        a - forces all files to be reinstalled
        u - all required user-specific registry entries (default)
        m - all required computer-specific registry entries (default)
        s - all existing shortcuts (default)
        v - runs from source and recaches local package
Setting Public Properties
    [PROPERTY=PropertyValue]

Consult the Windows ® Installer SDK for additional documentation on the
command line syntax.

Copyright © Microsoft Corporation. All rights reserved.
Portions of this software are based in part on the work of the Independent JPEG Group.

  • elevator
  • Registratie: December 2001
  • Niet online

elevator

Officieel moto fan :)

Als je "MSIEXEC /I [naam msi bestand.msi]" uitvoert werkt et ewl vermoedelijk? :)

Kijk eens in je registry wat de waarde is van HKEY_CLASSES_ROOT\Msi.Package\shell\Open\command dat zou moeten zijn:

code:
1
"%SystemRoot%\System32\msiexec.exe" /i "%1" %*


:)

Verwijderd

Topicstarter
Heb een exe van waaruit de installer wordt aangeroepen, dus die regel testen lukt niet echt. Heb wel even in registry gekeken maar daar staat gewoon de correcte regel.

Probleem doet zich voor als ik daemon tools wil installeren en ook met een demo van bard's tale, dus ligt denk ik wel aan de installer en niet aan daemon tools specifiek.


---EDIT--
Als test even apache_2.0.54-win32-x86-no_ssl.msi gedownload en geprobeerd aan te roepen vanaf de commandprompt, maar ook dan komt hetzelfde venster naar boven, terwijl het bestand er zeker weten staat. Blijkbaar vindt de installer tijdens het openen op de een of ander manier het .msi bestand niet en geeft hij daarom het venster weer.

Maar als dit het is, hoe zorg ik dat hij wel het .msi bestand vindt?

[ Voor 41% gewijzigd door Verwijderd op 04-07-2005 00:15 ]


Verwijderd

Topicstarter
Dacht dat je zei, "msiexec /l" die werkt niet, maar msiexec /i werkt wel.

Echter nog steeds niet met de andere bestanden, terwijl het wel goed staat in de registry

--EDIT--

Zodra ik

code:
1
"%SystemRoot%\System32\msiexec.exe" /i "%1" %*


verander in

code:
1
"%SystemRoot%\System32\msiexec.exe" /i


Lijkt die te werken, waarvoor dienen die laatste 2 parameters?

[ Voor 50% gewijzigd door Verwijderd op 04-07-2005 23:14 ]


  • elevator
  • Registratie: December 2001
  • Niet online

elevator

Officieel moto fan :)

De eerste parameter ("%1") geeft de filename mee, de %* geeft de andere parameters die jij aan de .MSI geeft door aan de MSIEXEC :)