{"id":88,"date":"2009-04-28T13:31:10","date_gmt":"2009-04-28T17:31:10","guid":{"rendered":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/?p=88"},"modified":"2009-04-28T13:31:10","modified_gmt":"2009-04-28T17:31:10","slug":"install-upgrade-vbscripts-for-windows-32-64-bit","status":"publish","type":"post","link":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/?p=88","title":{"rendered":"Install \/ Upgrade vbscripts for windows 32 &#038; 64 bit"},"content":{"rendered":"<p>A few of the software packages I use have a good enough silent installer to allow me to build a vbscript to install them.  I&#8217;ve also tried to include an &#8220;upgrade&#8221; function which uninstalls the previous version of the software at the same time, using the win32_product class to find and uninstall it.  The problem that occurs with this system is that 64 bit systems do not use the win32_Product class, and I haven&#8217;t found an equivalent wmi object to do this.  Instead, I&#8217;ve resorted to including the uninstall command string the registry uses.\u00a0 There are some problems with this, notably that the uninstall may not have a silent installer string available for it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few of the software packages I use have a good enough silent installer to allow me to build a vbscript to install them. I&#8217;ve also tried to include an &#8220;upgrade&#8221; function which uninstalls the previous version of the software at the same time, using the win32_product class to find and uninstall it. The problem [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/posts\/88"}],"collection":[{"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88"}],"version-history":[{"count":4,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":101,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions\/101"}],"wp:attachment":[{"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}