#128216 - 2004-10-21 10:28 AM
How to install an MSI file via logon script
|
phollan1
Fresh Scripter
Registered: 2004-02-18
Posts: 9
Loc: UK
|
I have created an MSI file for Java and am trying to get it to install via the logon script. I can run the command line install msiexec /i \\<server>\netlogon\java2.msi /quiet but cannot get it to work in the logon script have tried with run and with shell how should I be doing this
|
|
Top
|
|
|
|
#128222 - 2004-10-21 10:57 AM
Re: How to install an MSI file via logon script
|
phollan1
Fresh Scripter
Registered: 2004-02-18
Posts: 9
Loc: UK
|
SHELL "msiexec /i \\<server>\netlogon\java2.msi /quiet"
this is what I have in the script like I said if I type in msiexec /i \\<server>\netlogon\java2.msi /quiet
in start run it works fine without seeing it install just not via login script
|
|
Top
|
|
|
|
#128224 - 2004-10-21 11:08 AM
Re: How to install an MSI file via logon script
|
phollan1
Fresh Scripter
Registered: 2004-02-18
Posts: 9
Loc: UK
|
I get the error 1603 Fatal error during installation
any ideas could it be admin rights
|
|
Top
|
|
|
|
#128226 - 2004-10-21 11:32 AM
Re: How to install an MSI file via logon script
|
phollan1
Fresh Scripter
Registered: 2004-02-18
Posts: 9
Loc: UK
|
definately seems to be permission problem how does this look now still not working though doesn't like sanur apparently SHELL '%COMSPEC% /c runas /noprofile /user:administrator | SANUR <password> "msiexec /i \\<server>\netlogon\java2.msi /quiet"'
|
|
Top
|
|
|
|
#128229 - 2004-10-21 03:04 PM
Re: How to install an MSI file via logon script
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
for MSIs use
/qn (quiet, no interface)
or
/qb-! (minimum interface, no cancel button... progress bar only)
|
|
Top
|
|
|
|
#128230 - 2004-10-21 08:10 PM
Re: How to install an MSI file via logon script
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11628
Loc: CA
|
Question, why did you create your own MSI? Java allows you to install how you want with their own switches. I provided the link in one of the previous posts as well.
http://java.com/en/download/help/silent_install.jsp
Also, as pointed out by others, try to get it working directly on your hard drive or another test machine, THEN worry about getting it to work from another location on the Network.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1003 anonymous users online.
|
|
|