cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Chris_Edwards
Level 3

App works with installshield 2009 but nit with installshield 2012

I have a VB6 application packaged with installshield 2009 which installs and runs ok on windows 7. I repackaged it with installshield 2012 but when it runs I get an error 339, Componant 'XPControls.ocx' or one of its dependancies not correctly registered: a file is missing or invalid.

If i set the shortcut to run in compatibility mode for windows xp it runs ok without the error and it also runs ok once windows compatibility mode is unchecked.

this is also the same if I set it to run as administrator and then unset it. It runs ok after that.

It is as if the ocx file is not registering correctly. if after installing my app I register the 'XPControls.ocx' file manually i do not get the 339 error.

Is there a setting in Installshield 2012 that I am not setting?
Labels (1)
0 Kudos
(2) Replies
rrinblue22
Level 9

If nothing else you can register XPControls.ocx at the end of installation say OnEnd() or a custom action in MSI project...
0 Kudos
Chris_Edwards
Level 3

Any idea how this can be done with a custom action, would it need to run a script of some sort?
0 Kudos