Installation & Licensing

Reply
Active Contributor
waldo120
Posts: 31
Registered: ‎06-08-2006
Message 1 of 9 (2,379 Views)
Accepted Solution

Silent install for Inventor 2012 viewer

2379 Views, 8 Replies
06-30-2011 04:37 PM

Hi, what is the command to silently (or preferably passively) install inventor viewer 2012?

 

I tried using the msi file included, and it just put a note in the event viewer saying I must run it from setup.exe.

 

I don't need to customize anything, just want to install on several computers without running through the setup everytime.

Product Support
emily.xu
Posts: 460
Registered: ‎03-29-2010
Message 2 of 9 (2,360 Views)

Re: Silent install for Inventor 2012 viewer

07-04-2011 12:35 AM in reply to: waldo120

You can try this solution: http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=13863010&linkID=9242018. Though it is for 2011 and previous version, but I think it will apply for 2012 version.




Emily Xu
Active Contributor
waldo120
Posts: 31
Registered: ‎06-08-2006
Message 3 of 9 (2,337 Views)

Re: Silent install for Inventor 2012 viewer

07-05-2011 10:36 AM in reply to: emily.xu

Close, but not quite.

 

When my install script gets to inventor viewer it asks for permission to run the msi's.

 

When I use the below command for any other msi it installs passively without permission. I'm looking for a simular unattended setup.

 

msiexec /i "FolderSize-2.4.msi" /passive /norestart

Active Contributor
waldo120
Posts: 31
Registered: ‎06-08-2006
Message 4 of 9 (2,306 Views)

Re: Silent install for Inventor 2012 viewer

07-06-2011 03:51 PM in reply to: waldo120

I've now also gotten the below error when installing using this command line on 2 out of 3 of the computers I went to install using this method. Yet it installs just fine if I manually run the exe. All of my computers in question are fully updated using MS's WSUS server and on XP SP3.

 

This installation package cannot be installed by the windows installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.

Product Support
emily.xu
Posts: 460
Registered: ‎03-29-2010
Message 5 of 9 (2,301 Views)

Re: Silent install for Inventor 2012 viewer

07-06-2011 06:56 PM in reply to: waldo120

The machines need .NET framework 3.5 SP1 installed before you can run these commands. You can find the prerequisite in Setup.ini file.




Emily Xu
Active Contributor
waldo120
Posts: 31
Registered: ‎06-08-2006
Message 6 of 9 (2,290 Views)

Re: Silent install for Inventor 2012 viewer

07-07-2011 03:23 PM in reply to: emily.xu

I looked at my WSUS and it says .Net 3.5 SP1 is "installed or NA" for all computers. No errors.

 

In addition attached you will find an example where .net 3.5 SP1 is installed, but I get the afore mentioned error. I've also followed up with an additional example.

Active Contributor
waldo120
Posts: 31
Registered: ‎06-08-2006
Message 7 of 9 (2,289 Views)

Re: Silent install for Inventor 2012 viewer

07-07-2011 03:24 PM in reply to: waldo120
Product Support
emily.xu
Posts: 460
Registered: ‎03-29-2010
Message 8 of 9 (2,276 Views)

Re: Silent install for Inventor 2012 viewer

07-07-2011 06:24 PM in reply to: waldo120

From the error image, there maybe somthing wrong with the Windows installer, I would suggest you try to re-register (re-install) the Microsoft Windows Installer by this solution: http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=10304950&linkID=9240617.

If above not solve your problem, then try to install the latest version of the Microsoft Windows Installer from the Microsoft website.




Emily Xu
Active Contributor
waldo120
Posts: 31
Registered: ‎06-08-2006
Message 9 of 9 (2,258 Views)

Re: Silent install for Inventor 2012 viewer

07-11-2011 11:13 AM in reply to: emily.xu

Doing what your hyperlink says to do works. Thanks.
I tried just setting the script to passively re-install, using the below command, before trying to install Inventor Viewer, but that doesn't seem to be enough. Guess when I get this error I'll just have to manually install. :smileysad:


"Inventor Viewer 2012 x86\Msi\WindowsInstaller-KB893803-v2-x86.exe" /passive

 

------------------------

 

Any update on silently installing without requiring me to click run?

 

------------------------

 

Also, I'm starting to notice there is a lot of overlap between my 5 different AutoCAD viewer install folders. Is there someway for me to reduce the space this stuff takes up by combining (or deleting) the repeated folders? If so, is it documented somewhere what folders are repeated, and perhaps a suggested method? Or perhaps a single download that combines the 32 and 64 bit versions?


The different readers I use are (all 2012):

Design Review

TrueView x86

TrueView x64

Inventor View x86

Inventor View x64

 

------------------------

 

So the entire script that installs inventor viewer "nearly silently" goes like this:
REM If there is an error installing Inventor Viewer you will need to manually install it. Or

REM msiexec /unregister

REM del %systemroot%\system32\msi.dll

REM del %systemroot%\system32\msiexec.exe

REM del %systemroot%\system32\msihnd.dll

REM RebootREM "CAD\Inventor Viewer 2012 x86\Msi\WindowsInstaller-KB893803-v2-x86.exe" /passive

 

if /i %Processor_Architecture%==AMD64 goto 64bit

goto 32bit

 

:32bit

ECHO Installing Inventor Viewer

"Inventor Viewer 2012 x86\x86\InventorView\InventorView.msi" ADSK_SETUP_EXE=1 /qb


ECHO Installing Inventor Viewer English Launguage Pack

"Inventor Viewer 2012 x86\x86\en-US\InventorView\InventorViewLP.msi" ADSK_SETUP_EXE=1 /qb

 

goto 3264bit

 

:64bit


ECHO Installing Inventor Viewer

"CAD\Inventor Viewer 2012 x64\x64\InventorView\InventorView.msi" ADSK_SETUP_EXE=1 /qb

 

ECHO Installing Inventor Viewer English Launguage Pack

"CAD\Inventor Viewer 2012 x64\x64\en-US\InventorView\InventorViewLP.msi" ADSK_SETUP_EXE=1 /qb

 

goto 3264bit

 

:3264bit

 

REM No shared software to install here

Echo Done instaling Inventor Viewer 2012

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Up & Ready Blog

Boldly Install, Configure and Deploy Autodesk Software.

AutodeskHelp Blog

Your one-stop shop for the latest solutions, breaking news, and behind the scenes access to the world of Autodesk support.

Connect with Us

Twitter

Pinterest

Blog

Youtube