-
run() and uac
Hi All,
run('msiexec /i '&clip(glo:uncInstallatiepad)&'\DhtmlEd.msi',1) ! OK
run('msiexec /i '&clip(glo:uncInstallatiepad)&'\DhtmlEd.msi /qn ',1) !
/qn means quite install no dialog
Nothing happens no message because of UAC i suppose.
Is there a better way?
Dirk
-
Re: run() and uac
Dirk,
> run('msiexec /i '&clip(glo:uncInstallatiepad)&'\DhtmlEd.msi',1) ! OK
>
> run('msiexec /i '&clip(glo:uncInstallatiepad)&'\DhtmlEd.msi /qn ',1) !
>
> /qn means quite install no dialog
> Nothing happens no message because of UAC i suppose.
> Is there a better way?
If #1 works and #2 does not then it's not related to UAC.
Try:
'msiexec /i "'&clip(glo:uncInstallatiepad)&'\DhtmlEd.msi" /qn'
Friedrich
--
Friedrich Linder
Lindersoft | SetupBuilder | www.lindersoft.com
954.252.3910 (within US) | +1.954.252.3910 (outside US)
--SetupBuilder "point. click. ship"
--Helping You Build Better Installations
--Create Windows 10 ready installations in minutes
--Official COMODO Code Signing and SSL Certificate Partner
-
Re: run() and uac
Hi Friedrich,
#1 is working because i can click to go further.
#2 doesn't show anything which i would like
Dirk
-
Re: run() and uac
Hi Dirk,
Did you try my suggestion with the double-quotes?
msiexec /i "'&clip(glo:uncInstallatiepad)&'\DhtmlEd.msi" /qn
Your original command line (with the additional quiet switch) is incorrect
if the .msi has a long filename. Of course, it's very well possible that
the vendor of the .msi has disabled the /qn switch. But IMO, it's caused by
the missing double-quotes.
Friedrich
-
Re: run() and uac
Hi Friedrich,
I tried with "" and tried with UAC disabled but /q (without n) seems not to
be supported.
Dirk
-
Re: run() and uac
Hi Dirk,
> run('msiexec /i '&clip(glo:uncInstallatiepad)&'\DhtmlEd.msi',1) ! OK
>
> run('msiexec /i '&clip(glo:uncInstallatiepad)&'\DhtmlEd.msi /qn ',1) !
>
> /qn means quite install no dialog
> Nothing happens no message because of UAC i suppose.
> Is there a better way?
Could it be that /q prevents the installer from running if it's not run
elevated? Can you run it from an unelevated command line?
Best regards,
--
Arnor Baldvinsson
Icetips Alta LLC
-
Re: run() and uac
Hi Arnor,
As administrator
C:\WINDOWS\system32>C:\clarion10\exes\mz10\DhtmlEd .msi /q
does nothing.
Dirk
-
Re: run() and uac
Hi Dirk,
> As administrator
> C:\WINDOWS\system32>C:\clarion10\exes\mz10\DhtmlEd .msi /q
> does nothing.
Have you tried any of the other /q options, see:
https://technet.microsoft.com/en-us/...(v=ws.10).aspx
To set the user interface level
Syntax
msiexec /q{n | b | r | f | n+ | b+ | b-}
Parameters
/qn
Displays no user interface.
/qb
Displays a basic user interface.
/qr
Displays a reduced user interface with a modal dialog box displayed at
the end of the installation.
/qf
Displays the full user interface with a modal dialog box displayed at
the end.
/qn+
Displays no user interface, except for a modal dialog box displayed at
the end.
/qb+
Displays a basic user interface with a modal dialog box displayed at the
end.
/qb-
Displays a basic user interface with no modal dialog boxes.
You can use the /L to log information so that might help you identify
where the problem is. See
https://technet.microsoft.com/en-us/...(v=ws.10).aspx and
also on the page mentioned above.
Best regards,
--
Arnor Baldvinsson
Icetips Alta LLC
-
Re: run() and uac
Hi Arnor,
Thanks. First it worked with C:\clarion10\exes\mz10\DhtmlEd.msi /qb but than
i realised i had the problem on a other machine
which is win10 64 bit instead off win 10 32 bit. On the 64 bit machine even
with C:\clarion10\exes\mz10\DhtmlEd.msi i get
"can't open installer..". So do i have to ask microsoft or make my own
installer?
Dirk
-
1 Attachment(s)
Re: run() and uac
Dirk,
> Thanks. First it worked with C:\clarion10\exes\mz10\DhtmlEd.msi /qb but
> than i realised i had the problem on a other machine
> which is win10 64 bit instead off win 10 32 bit. On the 64 bit machine
> even with C:\clarion10\exes\mz10\DhtmlEd.msi i get
> "can't open installer..". So do i have to ask microsoft or make my own
> installer?
Is this the "DHTML Editing Component for Applications" (version 6.02.0001)?
I have compiled it into a SetupBuilder EXE for you ("dual" code-signed and
runs in "silent" mode).
http://www.lindersoft.com/projects/DhtmlEd.exe
Does this help?
--
Friedrich Linder
Lindersoft | SetupBuilder | www.lindersoft.com
954.252.3910 (within US) | +1.954.252.3910 (outside US)
--SetupBuilder "point. click. ship"
--Helping You Build Better Installations
--Create Windows 10 ready installations in minutes
--Official COMODO Code Signing and SSL Certificate Partner