First let me send a shout out to my reference for this little tidbit of information: How to add a Uninstall option in Visual Studio Setup project without writing code GoGoToTo created a very nice article on this. I simply expanded it further to include getting your application “registered” so within BigFix it will show up as one of the registered apps.
First View your File System so we can add the special folder “System”
If your application is x86, then we’ll want to add the msiexec.exe from the c:\windows\SysWow64 folder.
Left click to highlight the msiexec.exe file and in the properties window, adjust as indicated in the following image:
Next we’ll need to add a shortcut to the “User’s Program Menu”. In my example, I’ve created a sub-folder named after my application. Click that folder and in the right window, right-click and create a shortcut.
Navigate to the System Folder and select the msiexe.exe file.
Before we modify the shortcut’s properties, we’ll need to copy the ProductCode from the Setup Application Properties.
Using that ProductCode, modify the shortcut’s properties as follows:
Now we get to register our application… Open the Registry View.
Under HKEY_LOCAL_MACHINE add the following sub-keys:
Microsoft\Windows\CurrentVersion\App Paths\[name of your exe]
Remember to specify the last key to “DeleteAtUninstall” = True
Add the following 2 string values with the values as shown.
That’s it. You now have an uninstall link that will be created upon installation of your app. You will also have your application properly “registered” so BigFix can properly detect it.