Centerfuge
Programmer
Hello All, I'm in the process of putting one of my company's applications (originally written in VB6 back in the day) fully onto CD.
Obviously (or not so obviously) I need (or atleast would like) to ensure that certain objects (dll's etc.) are on the running machine prior to launching the application. To this end another developer and I thought of doing an invisible auto-run application which, when launched, will check to see if these components are on the target system and that they are registered (if necessary), if it finds that they are registered, it will in turn launch the application on the CD, if it finds that they aren't, it will run an installer that installs the requisite dll's and ocx's then it will launch the CD App.
The logic seems simple enough, but my C++ is quite rusty and was wondering if any of you had suggestions on how to do this? We had discussed using C#, but there is the obvious drawback of requiring the .Net runtime which I really want to avoid.
I'm not asking you to write my code for me, but if you could point me to the objects I need to use that would be a tremendous help. I'm thinking I will need to be able to Shell out to the command line, and I might need to access the system registry (are there any objects or API's I can use to do so?) to determine if the file is registered and where to locate it.
Thanks
Obviously (or not so obviously) I need (or atleast would like) to ensure that certain objects (dll's etc.) are on the running machine prior to launching the application. To this end another developer and I thought of doing an invisible auto-run application which, when launched, will check to see if these components are on the target system and that they are registered (if necessary), if it finds that they are registered, it will in turn launch the application on the CD, if it finds that they aren't, it will run an installer that installs the requisite dll's and ocx's then it will launch the CD App.
The logic seems simple enough, but my C++ is quite rusty and was wondering if any of you had suggestions on how to do this? We had discussed using C#, but there is the obvious drawback of requiring the .Net runtime which I really want to avoid.
I'm not asking you to write my code for me, but if you could point me to the objects I need to use that would be a tremendous help. I'm thinking I will need to be able to Shell out to the command line, and I might need to access the system registry (are there any objects or API's I can use to do so?) to determine if the file is registered and where to locate it.
Thanks