473,394 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How do I create an installation package for a VB6 program to run on Windows 8.1?

I have been creating and running VB6 programs for many years. To reduce problems I have been compiling them and packaging them with the P&D Wizard under Windows 2000 in VirtualBox.
Up to Windows 7 this worked fine but with Windows 8.1 when I run setup.exe to try and install a program, I get the message
Cannot start the main setup program! (CreateProcess() returned error code 0x000000C1H)
I have tried installing from an XP created P&D Wizard setup with the same result.
Can anyone help me please.
Aug 4 '15 #1
2 2569
I also have been installing programs for many years using the inbuilt setup routine within VB6.

I agree that things have worked relatively well until win8 when some installations worked without a hitch and some didn't. The problems have centred around the apparent failure to register of some the OCX files. Sometimes manual registration using the regsvr.exe has helped and sometimes that has failed.

Any comments?
Oct 9 '15 #2
Just a bit more info on the OCX problem.

After some research, it seems that the standard setup.exe calls the default regsvr during installation, which would be regsvr64 on a 64-bit machine, which cannot register a 32-bit file and so causes an error. However, these files can be registered manually in syswow64 by using regsvr32 from an admin command prompt.

This has worked perfectly on two 64-bit machines, but what I need to do now is to automate the process.
Oct 27 '15 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: jiing | last post by:
I want to use web interface to do : 1. user accounts management (adminstration side) 2. personal password management (user side) 3. create actual accounts under windows 2003 server( for handling...
2
by: prodigyofqnz1 | last post by:
Hi, I'm trying to do basically what my subject says, create a console program to simply enter text into a blank notepad session. I'm trying to do a windows enumeration search and send the string...
8
by: Justin Sane | last post by:
I have bought a book to learn C++, I bought Jesse Liberty's thick book, and so far I haven't seen how I can create simple applications for Windows with buttons, checkboxes, text areas, etc......
20
by: piggy | last post by:
I have developed an application using C# under .NET 2.0 framework. It is almost done and it is time for me to think about deploymnet to all users. I don't have any background about this and would...
2
by: bubbles | last post by:
Using Access 2003 front-end with SQL Server 2005 backend. I had used an installation packager in Office 2000 Enterprise, which allows one to create an installation package for Access...
1
by: Boki | last post by:
Hi All, How to create installation pack for user to install ? I remember there is a command in VB6, after ran it, it can auto prepare the pack. Thanks! Best regards,
1
by: Dica | last post by:
i'm primarily a web developer, so this is probably a pretty stupid question to ask, but i'm trying to figure out how to run an installation package i'm writing in a VS setup project. as far as i've...
1
by: =?iso-8859-1?b?VG9t4XMg0yBoyWlsaWRoZQ==?= | last post by:
I'm looking for the installation package for Bloodshed Dev C++ IDE for Linux (the latest version if possible). It's free but I can't find it anywhere online, I think they ship it on a CD or...
2
by: aaron | last post by:
Hi all: I need to create an installation package to suport at least four language. Follow the Windows service installation wizard, I found I can only specify installation language at compile...
2
by: Cirene | last post by:
I reformated by PC, reinstalled VS2008 then tried to apply the SP1 (using a DVD I burned from the ISO.) Can you help??? I got this message... The installation failed with teh following...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.