If you’re trying to validate an installation in InstallShield (version 11.5, in case that matters), here’s a little something to be aware of.
First, some background.
InstallShield sucks.
Ok, now that that’s out of the way, if you have to use it, you may find yourself needing to perform a validation on your install. I did when a customer called up telling me that they couldn’t deploy my install using Active Directory Group Policy because when they tried, AD GPO gave them an error that the install wasn’t valid.
Which it most certainly was, because tons of people have used it to install over that past 2 years.
Anyway, the customer happened to have WISE, so they ran a validation on it and got quite a few errors flagged.
So, I run InstallShield validation on it and I see quite a few errors too. Oops.
Well, to be honest, installs aren’t job one, and if the damn thing installs and uninstalls properly under all the test scenarios that we’ve cooked up, why would I even think to validate it?
None-the-less, it had issues. So I start investigating. Come to find out, the errors are things like “Foreign key not found in table blah” and such forth.
Whah?! You mean, InstallShield will actually build an install that contains patently incorrect or missing foreign keys between tables. Hey, if I was using ORCA to build installs, I could see this, but isn’t that what spending all that dough on InstallShield is supposed to buy you?
Fine, so I fix the foreign keys and revalidate. Same damn errors! Not one thing is gone from the validation errors list. WTF!
I puzzle over it for 15 minutes or so and then give ’em a call.
Ah. You have to rebuild your entire installation before rerunning the validation! Oh. That makes sense. And, um, exactly why doesn’t IS simply pop up a msgbox telling me I need to rebuild, or better yet offering to rebuild. It knows I just ran a validation. It knows I just made a few changes. Shouldn’t it know I’m not going to get valid results if I just run the validation without rebuilding?
This just seems like UI 101 to me, not Advanced AI 5.