Installer Project in Visual Studio 2012


In the past, I posted the installer project I used to build Vault apps.  However, that project was for Visual Studio 2010.  In the 2012 version, Microsoft dropped the installer project type and replaced it with an Install Shield project type.  So I’ll share with you my latest installer template.  You do not need to purchase Install Shield.

Click here to download the project source


My recommendations on how to configure:

In the solution explorer, you will see that Install Shield sets things up in numbered steps, so I’ll just go through the relevant parts, from the top on down.

I usually just skip over the Getting Started and Project Assistant stuff.  Personally, I found it more confusing than helpful.

  1. Organize Your Setup
    1. General Information
      1. Replace all the TODO parts.  Such as ProductName, INSTALLDIR, Subject, Author and Publisher.
      2. Generate new values for Product Code and Upgrade Code.
  2. Specify Application Data
    1. Files
      1. Rename the TODO folder if there is one.
      2. Put all your extension files in the [CommonAppDataFolder]\Autodesk\Vault 2015\Extensions\YourAppName folder.
      3. You can ignore the Database folder.
      4. You don’t need to put anything in the [AppDataFolder] and [CommonFilesFolder]
  3. Configure the Target System
    1. You can ignore this stuff.
  4. Customize the Setup Appearance
    1. Dialogs
      1. Check the dialogs that you want to show up during the install.
  5. Define Setup Requirements and Actions
    1. You can ignore this stuff.
  6. Prepare for Release
    1. The SingleImage is the output type you probably want.  Here are the settings I use.


Now you are ready to build.  If all goes well, you will see your setup.exe file in your output folder, which is something like [projectFolder]\Express\SingleImage\DiskImages\DISK1

Now all you have to do is zip up the EXE, post it on your blog, and wait for the money to roll in. 



Comments

One response to “Installer Project in Visual Studio 2012”

  1. Mario Lung Avatar
    Mario Lung

    Hey,
    Good News with VS 2013 and VS 2015 ist the Microsoft deployment project back!!!
    https://visualstudiomagazine.com/articles/2014/04/18/microsoft-reinstalls-visual-studio-installer.aspx

Leave a Reply to Mario LungCancel reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading