View Full Version : run() and uac
NewsArchive
06-02-2016, 02:02 AM
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
NewsArchive
06-02-2016, 02:02 AM
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
NewsArchive
06-02-2016, 02:04 AM
Hi Friedrich,
#1 is working because i can click to go further.
#2 doesn't show anything which i would like
Dirk
NewsArchive
06-02-2016, 02:04 AM
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
NewsArchive
06-02-2016, 02:05 AM
Hi Friedrich,
I tried with "" and tried with UAC disabled but /q (without n) seems not to
be supported.
Dirk
NewsArchive
06-02-2016, 02:05 AM
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
NewsArchive
06-02-2016, 02:06 AM
Hi Arnor,
As administrator
C:\WINDOWS\system32>C:\clarion10\exes\mz10\DhtmlEd.msi /q
does nothing.
Dirk
NewsArchive
06-02-2016, 02:07 AM
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/library/cc759262(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/library/cc781955(v=ws.10).aspx and
also on the page mentioned above.
Best regards,
--
Arnor Baldvinsson
Icetips Alta LLC
NewsArchive
06-02-2016, 02:07 AM
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
NewsArchive
06-02-2016, 02:08 AM
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
NewsArchive
06-02-2016, 02:08 AM
Hi Friedrich,
It helps a lot! Installed without any screen/problem.
You'r the best
Dirk
NewsArchive
06-02-2016, 02:08 AM
Hi Dirk,
> It helps a lot! Installed without any screen/problem.
>
> You'r the best
;-) I'm glad it works.
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
NewsArchive
06-02-2016, 02:09 AM
> It helps a lot! Installed without any screen/problem.
There is never a downside to using SetupBuilder whenever possible for
installing anything!
Besides, it is easier to let Friedrich do all the hard work while we reap
the benefits (and focus on our other work).
:-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.solidsoftware.de - ImageEx and RichReport templates!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
06-02-2016, 02:09 AM
>> It helps a lot! Installed without any screen/problem.
>
> There is never a downside to using SetupBuilder whenever possible for
> installing anything!
>
> Besides, it is easier to let Friedrich do all the hard work while we
> reap the benefits (and focus on our other work).
<G> ;-)
Friedrich
NewsArchive
06-02-2016, 02:10 AM
Hi Charles,
> There is never a downside to using SetupBuilder whenever possible for
> installing anything!
Speak for yourself! The damn thing completely refused to install my new
water heater!
Best regards,
--
Arnor Baldvinsson
Icetips Alta LLC
NewsArchive
06-02-2016, 02:10 AM
Arnor,
> Speak for yourself! The damn thing completely refused to install my new
> water heater!
Made me choke on my cola!!!!!
Lee White
NewsArchive
06-02-2016, 02:10 AM
> Made me choke on my cola!!!!!
I've got you beat - I now have about half a ham sandwich lodged somewhere
in my sinuses!
:-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.solidsoftware.de - ImageEx and RichReport templates!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
06-02-2016, 02:11 AM
You should have code-signed it.
Jeff Slarve
www.jssoftware.com
Twitter free since Jan 11, 2016
I'll search help files & Google for you.
Grammar troll's, are the worse.
NewsArchive
06-02-2016, 02:11 AM
> You should have code-signed it.
Or at least left off the spicy mustard!
:-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.solidsoftware.de - ImageEx and RichReport templates!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
06-02-2016, 02:11 AM
<ROFL>
Friedrich
NewsArchive
06-02-2016, 02:12 AM
And now I have coffee all over my keyboard - damn!
Andre Labuschagne
NewsArchive
06-02-2016, 10:41 AM
Wait ... what ??? 8-o
8-)
Carl W. Sumner
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.