We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

BillM
Posts: 20
Joined: Thu Jan 08, 2015 3:35 pm

Recreating old WfWI-based Setup

Howdy,

We have been using Wise for Windows Installer 7.0 to build our setups. I am now tasked with recreating the setup, only differently, in Advanced Installer. The old setup was a Frankenstaller that used voodoo to reconfigure itself dynamically during installation and appear to be 1 of 3 different products with several editions based on the user's entered product ID. That entire method is being scrapped to boil it down to just one product so a lot of code in the old setup is useless. It's been 5+ years since I last developed an MSI-based installer so my skills are rusty.

Our existing setup installs our product, but 5 kernel-driver files are permanent and are never to be removed. Initial setup used the overwrite method to perform upgrades/downgrades, but after it was changed to a uninstall/new install model. We still haven't decided how to proceed for the new installer. Suggestions are welcome.

I have a few questions that are holding me up:

1. Should I use the same Product Code from my old setup or use a new one? I suspect that the answer depends on how we plan to manage upgrades.

2. For the kernel-drivers (each in their own component), I'm assuming that I should use their existing ComponentID so that there aren't any reference count issues?

I must admit that I'm a little nervous about using a new installer and recreating everything. I know well from MSI experience that problems (especially with upgrades) with the installer pop up AFTER you've already shipped, so you have to get it right the first time.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Recreating old WfWI-based Setup

Hello and welcome to Advanced Installer forums,
1. Should I use the same Product Code from my old setup or use a new one? I suspect that the answer depends on how we plan to manage upgrades.
No, you shouldn't use the same Product Code for the new version. Also, if you want that the new version of the setup (created with Advanced Installer) automatically upgrade (remove) the old product, then you should use the same Upgrade Code. Please take a look on our "Upgrade an older version of the package" article which could be useful too.
2. For the kernel-drivers (each in their own component), I'm assuming that I should use their existing ComponentID so that there aren't any reference count issues?
Yes, if the components of your drivers were marked as Permanent you should use their existing GUIDs and also enable the "Permanent" flag for them in the new setup too.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”