I want to make a custom setup program. Here is what I need to know how to do:

1. How can I embed file(s) into the EXE program (i want a single EXE distributable app.) and then extract those files by copying their data to a new file? (I assume this can be done with resource files, but not sure how it's done.) I don't need to compress the files.

2. How do I register/unregister OCXs through code?

3. How do I make one of those percent bars that displays the percent in the middle of a bar? (without buying an OCX for it and having to register it on the end user's machine before running the installation)

4. How do I make start menu/desktop shortcuts based on where the user chose to install the app?

5. How do I display the directory select box that many installers use without using an OCX?

6. How do I add/remove items from the Add/Remove Programs control panel applet?

I think some of these can be accomplished by API calls, but not sure.

Any help would be appreciated!
Thank you!

[Edited by FMillion on 08-20-2000 at 03:19 AM]