PDA

View Full Version : SetupBuilder and Registering Active X DLL on Vista [mirrored]



NewsArchive
02-04-2008, 01:59 AM
I have created an installer using Setup Builder, I am having trouble
registering an Active X Component.

The installer seems to work fine in Windows 2000 and XP but not in VISTA.

Does anyone know if there is a difference in operating system procedures.
I thought Setup Builder would handle this for me.

Vince

NewsArchive
02-04-2008, 02:00 AM
Vince,

Not a SetupBuilder issue. Three suggestions come to mind:

1. Make sure your ActiveX is Vista-aware
2. Make sure your installer requests administrator execution level
privileges.
3. Make sure all dependency files required by the ActiveX are available.

And of course, make sure your application is Vista-aware so it can use the
ActiveX on Vista and Windows Server 2008.

Hope this helps.

Friedrich

NewsArchive
02-04-2008, 02:00 AM
Hi Friedrich,

Ok, I will have to check if the active x is vista aware.

I'm not sure whre to request administrator execution level privilege in
Setupbuilder.
I tried to do a search of the help file for execution level and
administrator
but couldn't find anything.


Thanks

Vince

NewsArchive
02-04-2008, 02:01 AM
Hi Friederich

I found the Execution Level under General Settings. It is set as require
administrator.

I will have to check the active x dll.

Thanks

Vince

NewsArchive
02-04-2008, 02:02 AM
I tried to register the DLL manually and your right, It would not register.
Not a SetupBuilder Issue....

I had to turn the UAC off in order to get the dll to register.

Is there anyway that SetupBuilder can turn UAC on or OFF during install.

I'm not sure my clients would know how to do this.

It would be nice to automate that process using the Installer.
Or is there something I'm missing in the Installer to do this properly.

Vince

NewsArchive
02-04-2008, 02:03 AM
Hi Vince,

It's not possible to programmatically disable UAC. If you could do it via a
script then any malware could do the same. Not very secure if it could be
done this way ;-)

Okay, you can modify the EnableLUA registry key from the installer but that
would not change the UAC setting immediately and your customers would hate
you for manipulating their system in such a way.

What you need is a Vista-aware OCX because if it only registers if UAC is
turned of then it might always cause runtime problems if UAC is turned on.
Turning off UAC is not the solution (on the long run).

Does this help?

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
02-04-2008, 02:03 AM
> What you need is a Vista-aware OCX because if it only registers if UAC is
> turned of then it might always cause runtime problems if UAC is turned on.
> Turning off UAC is not the solution (on the long run).

Should read:

What you need is a Vista-aware OCX because if it only registers if UAC is
turned off then it might also cause runtime problems if UAC is turned on.
Turning off UAC is not the solution (on the long run).

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
02-05-2008, 12:58 PM
Thanks Friedrich,

Vince