Installer - W95 v. W98. Reboot?

I've created a setup program for an application we've written. This application requires DCOM95 c.q. DCOM98 when installed on Windows 9x

In Windows 95, the installation runs perfectly. The first time in, the setup program realises that DCOM is missing, installs it, and reboots the PC. After reboot, the PC proceeds with the rest of the installation.

In Windows 98, the first time in, the setup program realises that DCOM is missing, installs it, and reboots the PC.

After reboot, however, the setup is not resumed.

The user has to manually re-start the setup to proceed.

From looking at the install script, it looks like the DCOM installation sets a "Runonce" setting in the registry. So, my guess is that this "Runonce" setting is valid in W95 but not in W98

What gives? Is there any way to make this thing behave in W98?



PS - I don't believe in bad grades. The accepted answer will receive an "A". I'll increase the points for a good answer.
LVL 10
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pino, the following should help you, but if you need more, let me know!


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
caraf_gAuthor Commented:
Not quite, but close.

I found that for Windows 98 you need to set the RunOnceEx key. There is info about this in

Thanks - even though you didn't give me the exact answer you pointed me in the right direction.
Actually unless I were sitting next to you, there wouldn't be an exact answer as I can't see how you are implementing its use. This is why I noted that if you needed more info, to ask! Anyway, your on the right course, which is what counts.
caraf_gAuthor Commented:
Thanks again.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.