/build/static/layout/Breadcrumb_cap_w.png

Want to install SVGViewer from my installation with UAC enabled

I have to install svgViewer with my product. It seems that UAC block the launching.
At this time, I use a costum action juste before the InstallFinalize with a type "82"
The message in log is :
Info 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: InstSVGView, location: C:\Program Files\Test\SVGViewEnglish.exe, command: /qn /S
Any help is welcome

0 Comments   [ + ] Show comments

Answers (3)

Posted by: pbabinec 12 years ago
White Belt
0
Hi, found these posts, any luck yet?

Just a quick question: are you trying to silently run the .exe installer from a folder located INSIDE the %PROGRAMFILES% folder (C:\Program Files\Test\SVGViewEnglish.exe)? If so, (it seems so), I would definitely try to move the .exe installer OUTSIDE of C:\Program Files, since is it a UAC well guarded folder...

Comments:
  • I don't see how an installer can create a UAC prompt if it's already elevated? - Ifan 12 years ago
Posted by: Ifan 12 years ago
Second Degree Green Belt
0
I don't see how UAC can block it unless you are trying to make a per-user install.

Have you tried omitting the /S from the command line?
I successfully deploy SVGViewer 3.03 using just the "/qn" switch. Then i add the correct registry entries for accepting eula and disabling automatic updates. For 64bit systems;

reg add "HKLM\Software\WOW6432Node\Adobe\Adobe SVG Viewer\3.03\EULA" /v "3.03x94" /d accepted /f
reg add "HKLM\Software\WOW6432Node\Adobe\Adobe SVG Viewer\3.03\AutoUpdate" /v "Enabled" /d no /f

Anyway, chaining or bundling installers like that isn't best practice. You might concider a different approach.

Comments:
  • If I do a double click on the installation, it asks me for an admin account, seems normal that I am blocked in automatic mode (but I didn't get the popup in automatic and that's my problem I think) - covadis 12 years ago
  • No, unless you are doing a per-user install.

    What happens if you try to launch your installer elevated? - Ifan 12 years ago
  • OK I think I understand better.
    My installation needs admin right so it run from a "Run As Admin".
    The svg installation that I use needs admin right (little shield on the icon).
    I launch the SVG installation from my installation with a custom action (type 82, automatically generated with WfWI).
    Expect that will help you to help me :) - covadis 12 years ago
  • Could you please create logs and upload them somewhere for me to look at? - Ifan 12 years ago
  • Info 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: InstSVGView, location: C:\Program Files\Test\SVGViewEnglish.exe, command: /qn /S
    Is the only traces that I see, did you need any other information? - covadis 12 years ago
Posted by: jverbosk 12 years ago
Red Belt
0
Have you tried deploying by putting the install command in a batch file and zipping that up with the installer? I've run into some programs that don't install well with just putting the install commands in the command field, but doing this (and then invoking the batch file from the command field via "call batchfile.bat") often seems to get it working.

John

Comments:
  • I already have a batch launching the remove, at uninstall, of a temp folder... it doesn't work too :( (removing the folder request admin rigth also) - covadis 12 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ