Link to home
Start Free TrialLog in
Avatar of SupWang
SupWang

asked on

Question about the Installation.

Hi all,
My project needs to use an OCX component. Now I use the "InstallShield for
D4" make the setup files, At its "Make Registry Changes" property, I add "Regsvr32 Test.ocx" to "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce" key

But the problem is after copy all the files, must reboot the computer. How to avoid this?
Avatar of TOndrej
TOndrej

There may be several options for you:

1. Tell Installshield to register the OCX. This may not be available in your old version of Installshield Express.

2. Tell Installshield to run regsvr32 (or your own executable, see below) during the installation.
You can register your OCX in code. I'm not sure if you have this option in your version of Installshield.

3. You can register your OCX in code, at startup of your application (if you detect that it's not already registered). Have a look at Demos\ActiveX\TRegSvr.
Avatar of SupWang

ASKER

Hi TOndrej,
Not found this option in this version of Installshield.
Can I add some commands to the iwz file?(*.iwz)
ASKER CERTIFIED SOLUTION
Avatar of TOndrej
TOndrej

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SupWang:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
SupWang,
No comment has been added lately (18 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: split points between TOndrej http:#7140745 and Lee_Nover http:#7142176

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

anAKiN
EE Cleanup Volunteer