This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: App works with installshield 2009 but nit with installshield 2012
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 17, 2012
07:15 AM
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?
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?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 18, 2012
12:22 PM
If nothing else you can register XPControls.ocx at the end of installation say OnEnd() or a custom action in MSI project...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 24, 2012
03:25 AM
Any idea how this can be done with a custom action, would it need to run a script of some sort?