Wednesday, February 16, 2005

Silent installation of Autodesk DWG Viewer

I got a question on how to deploy DWG Viewer. Here is what I do. To install DWG Viewer with a click on a button create a VBScript. Then you can just send a link to the file to the users. Open Notepad and enter the following code and save the file with the vbs file extension.
on error resume next
Set WshShell = CreateObject("WScript.Shell")
runstring="msiexec /I ""\\server\Autodesk DWG Viewer\view.msi"" /qb! "
WshShell.Run runstring,1,true
You have to correct the path to the msi file. If you want you can add a row in the end of the file to tell that it is ready.
msgbox "Installation ready."
For complete options to use with msiexec command, see http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/msiexec.mspx. Using VBScript it's also possible to prepare a profile in DWG Viewer. Make a reg file of it and install that prepared profile for the end user. This includes any custom files like ctb, pc3, fonts etc. You can also make sure that this happens if another user logs in on that PC. Otherwise that user will have the default profile. I will post some examples if requested.

No comments:

Post a Comment

Subscribe to the comments feed

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Subscribe to this blog
JTB World's website | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.