<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bundling AutoCAD 2014 VBA Enabler into the AutoCAD 2014 deployment package. in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5603814#M332002</link>
    <description>&lt;P&gt;Hi @Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to the Community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try including the following...&amp;nbsp;"C:\Autodesk\AutoCAD_2014_VBA_Enabler_English_Win_64bit_dlm\3rdParty\VBA\Vba71.msi" with the /qb /qn or /q switches&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thats all you should really need to install VBA with AutoCAD.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2015 20:42:27 GMT</pubDate>
    <dc:creator>ukdxb012</dc:creator>
    <dc:date>2015-04-22T20:42:27Z</dc:date>
    <item>
      <title>Bundling AutoCAD 2014 VBA Enabler into the AutoCAD 2014 deployment package.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5603231#M332001</link>
      <description>&lt;P&gt;I am creating a deployment package for AutoCAD 2014 and I would like to include the VBA Enabler setup program with the package. &amp;nbsp;Does anyone know how to accomplish this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I've tried so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to unpack the file "&lt;STRONG&gt;AutoCAD_2014_VBA_Enabler_r2_English_Win_64bit_dlm.sfx__0.exe&lt;/STRONG&gt;" to the hard drive, and from there I can run &lt;STRONG&gt;Setup.exe /qb&lt;/STRONG&gt; to silently install the VBA Enabler with a progress bar showing, this is done after I've installed AutoCAD already.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed there is an area to include additional software in the installation. &amp;nbsp;The problem I see here though is that since the VBA Enabler is not just a single file but a whole directory full of files, what I would need to include is a whole directory stucture, not just a single installation file. &amp;nbsp;Does anyone know how I can accomplish this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/165182i50724DC66464C709/image-size/original?v=mpbl-1&amp;amp;px=-1" title="AutoCAD 2014 Installation - Include Additional Software.jpg" alt="AutoCAD 2014 Installation - Include Additional Software.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/165183i4A5CB177DD1725B9/image-size/original?v=mpbl-1&amp;amp;px=-1" title="File System 01.jpg" alt="File System 01.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 15:24:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5603231#M332001</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T15:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bundling AutoCAD 2014 VBA Enabler into the AutoCAD 2014 deployment package.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5603814#M332002</link>
      <description>&lt;P&gt;Hi @Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to the Community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try including the following...&amp;nbsp;"C:\Autodesk\AutoCAD_2014_VBA_Enabler_English_Win_64bit_dlm\3rdParty\VBA\Vba71.msi" with the /qb /qn or /q switches&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thats all you should really need to install VBA with AutoCAD.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 20:42:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5603814#M332002</guid>
      <dc:creator>ukdxb012</dc:creator>
      <dc:date>2015-04-22T20:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bundling AutoCAD 2014 VBA Enabler into the AutoCAD 2014 deployment package.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5604333#M332003</link>
      <description>&lt;P&gt;Thank you for your reply Duncan. &amp;nbsp;That suggestion will not work. &amp;nbsp;The MSI that you suggested&amp;nbsp;will install &lt;STRONG&gt;Microsoft Visual Basic for Applications 7.1 (x64)&lt;/STRONG&gt;, I'm looking to install the &lt;STRONG&gt;AutoCAD 2014 VBA Enabler&lt;/STRONG&gt;. &amp;nbsp;Your suggestion might be &lt;U&gt;part&lt;/U&gt; of what someone would need if they didn't already have&amp;nbsp;&lt;STRONG&gt;Microsoft Visual Basic for Applications 7.1 (x64)&amp;nbsp;&lt;/STRONG&gt;installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your suggestion gave me some ideas though, and I now have a solution. &amp;nbsp;I will post my solution later tonight or tomorrow, it's late and I need to go home now&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://forums.autodesk.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 01:13:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5604333#M332003</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-23T01:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Bundling AutoCAD 2014 VBA Enabler into the AutoCAD 2014 deployment package.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5604574#M332004</link>
      <description>&lt;P&gt;That is exactly how we installed it for AutoCAD 2013 x64.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/i VBA\AutoCAD_2013_AcVbaInstaller_English_Win_64bit\3rdParty\VBA\VBA6.msi /qb&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Give it a try, when you do, you will see the Autodesk AutoCAD 2014 VBA&amp;nbsp;program appears&amp;nbsp;in Add/Remove Programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For 2016 i have changed it slightly as we create our own custom *.exe from an&amp;nbsp;*.ipf using a tool called SMS Installer&amp;nbsp;which packages multiple items into one. This is how i managed to get it packaged in AutoCAD 2016.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AutoCAD_2016_AcVbaInstaller_Win_64bit_dlm\setup.exe /wait /qb /I AutoCAD_2016_AcVbaInstaller_Win_64bit_dlm\Setup.ini&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which will effectively just install "C:\Autodesk\AutoCAD_2016_AcVbaInstaller_Win_64bit_dlm\3rdParty\VBA\Vba71.msi" but from a networked location on DFS.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 07:58:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5604574#M332004</guid>
      <dc:creator>ukdxb012</dc:creator>
      <dc:date>2015-04-23T07:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bundling AutoCAD 2014 VBA Enabler into the AutoCAD 2014 deployment package.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5607435#M332005</link>
      <description>&lt;P&gt;Here is the detailed solution that I found to work best for our environment...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I work for a global organization, and there is not a single network location that everyone has access to, nor can there be a single location as per corporate policy. I do not want to install the program over the network because there are many offices and installing over the WAN&amp;nbsp;will be slower than copying the installation locally (it is much faster to copy a single large file than a lot of small files, especially to locations that may not have a top tier network connection).I want&amp;nbsp;be able to send the installation to various people around the organization, the way I'm sending the installation can vary. Also note that I also do not have access to SMS or SCCM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The conclusion is that I have taken the deployment that Autodesk gives us that looks like this...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot 1.jpg" src="https://forums.autodesk.com/t5/image/serverpage/image-id/165585i163E9EA82AF19C32/image-size/original?v=mpbl-1&amp;amp;px=-1" title="Screenshot 1.jpg" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...and packaged it up into a self-extracting RAR file. &amp;nbsp;This turns the installation into a single executable file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot 2.jpg" src="https://forums.autodesk.com/t5/image/serverpage/image-id/165586i1661C0E428EC527C/image-size/original?v=mpbl-1&amp;amp;px=-1" title="Screenshot 2.jpg" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This executable is set to ask for local administrative permission immediately so the entire context of the installation runs with local administrative permissions. Once the executable is unpacked to the local drive it executes this command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;"AutoCAD 2014 SP1 Stand-Alone License Setup - GSS USA.lnk"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will kick off the installation. In the "Include additional software" section of the installer I have 4 files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot 3.jpg" src="https://forums.autodesk.com/t5/image/serverpage/image-id/165591iC9479F965929B0BC/image-size/large?v=mpbl-1&amp;amp;px=-1" title="Screenshot 3.jpg" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no command line parameters for any of these 4 files. &amp;nbsp;The setup will first perform the installation of VBA 7.1 (Vba71.msi) and then install the language pack for it (Vba71_1033.MSI).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next you see the AutoCAD 2014 VBA Enabler setup file, this will bridge the gap between the Microsoft VBA installer and AutoCAD. &amp;nbsp;I took the same approach for the&amp;nbsp;&lt;SPAN&gt;AutoCAD 2014 VBA Enabler as I did for the entire AutoCAD installation, I packaged the contents of the&amp;nbsp;AutoCAD 2014 VBA Enabler into a self-extracting&amp;nbsp;RAR file. &amp;nbsp;Originally the file structure looks like this...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG alt="Screenshot 4.jpg" src="https://forums.autodesk.com/t5/image/serverpage/image-id/165593iB5B3E6E74C798762/image-size/original?v=mpbl-1&amp;amp;px=-1" title="Screenshot 4.jpg" border="0" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;SPAN&gt;This turns the installation into a single executable file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot 5.jpg" src="https://forums.autodesk.com/t5/image/serverpage/image-id/165594i8BE0B2EAD683503F/image-size/original?v=mpbl-1&amp;amp;px=-1" title="Screenshot 5.jpg" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once the executable is unpacked to the local drive it executes this command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;msiexec.exe /i "AcVbaInstaller.msi" /qb&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Finally, the "Installation Complete.exe" is simply another&amp;nbsp;self-extracting RAR file that runs a VB Script with the following contents:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;MsgBox "The AutoCAD 2014 SP1 stand-alone license setup is complete!", 64, "Installation Complete"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This just gives the user a message once it's all done rather than just disappearing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot 6.jpg" src="https://forums.autodesk.com/t5/image/serverpage/image-id/165596i47D0A39C3B70B3B4/image-size/medium?v=mpbl-1&amp;amp;px=-1" title="Screenshot 6.jpg" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this post can help someone in the future if they are looking to accomplish a similar task that I was.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2015 19:29:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/bundling-autocad-2014-vba-enabler-into-the-autocad-2014/m-p/5607435#M332005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-24T19:29:52Z</dc:date>
    </item>
  </channel>
</rss>

