Go Premium for a chance to win a PS4. Enter to Win


InstallSheild: a step I don't know.

Posted on 2001-06-05
Medium Priority
Last Modified: 2013-11-20
This may be too simple, but do help me:

Try to make a setup pakage to a CD.....Have found InstallSheild is available in my PC....I tried to learn it before doing anything....By following the tutoral, using Project Wizard, I went step by step until pressed the Finish putton. At this point, I losted: what is the next step to build the setup package into the floppy disks or the CD?

Thank you in advance.
Question by:learn
  • 5
  • 4

Accepted Solution

sgupta00 earned 400 total points
ID: 6157942
Goto Build -> Media Build Wizard and select CD-Rom option from there and follow the wizard. Then from Build menu option, select send media to ... and select the media you created before.

Author Comment

ID: 6158256
Hi squpta00,

You are right, I can go a step more now (big step) Thank you so much!!
Can you tell me more (with a little more points:-)): How to know what files need to be included in the package and how to include them? At least, I know I need include two .ocx files.


Expert Comment

ID: 6159031
THAT would depend on your program. As you said, you already know you must include 2 OCXs. I suppose that is so because you are aware of theeir being used by your application. Now you must find out what else it uses.
It will also use a lot of dlls, and you should see which are always on windows, and which you must put in your package.

i once made an install which had different dll's for each operanting system (nt, 98, etc). you may not need to do so. i needed because i used the latest versions at the time.

another thing to be careful about, is NOT to overwrite vital system dlls without giving some thought to it. see if you can overwrite them as you wish, if you risk corrupting the system if you do, you may consider overwritting only if yours are more recent and in a specific OS, etc.

as you see, it all depends on your project, and how thorough you want to be

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


Expert Comment

ID: 6160344
You might find the following articles helpful in determining whhich files to include in the package.



And for second part of your question on how to insert files to package, on the bottom left side of Installsheild you would see tabs - click on File Groups. Here you can add various group for different types of files you would be inserting like executables, dll's, ocx's etc etc. Click on Links and then right click and select insert files - insert file dialog box pops up. You can then insert the files you want in your package.

Author Comment

ID: 6164244
To squpta00,

Yes, I included the files that support my exe file by following your instruction, thank you again. Now, what is the next step to tell InstallSheild that how to deal with the files...or it can automatically copy and register them or the files will be simply copied in the same solder as the exe filewill be copied into?

Expert Comment

ID: 6164617
YOu can compile the script from Build->Media. After all the files are included, you goto Build Media Wizard, rebuild your media with all the files you want to include. You can also select Build->Run Setup to make sure everything's OK before you copy media to disk.

Author Comment

ID: 6165582
Hi squpta00,

What I want was telling InstallSheild: copy the ocx to Windows/system and register them. How to do that?

Expert Comment

ID: 6166039
You can find this info from the Installshield Help Library.

InstallShield provides special functionality for installing self-registering files. The preferred method for installing self-registering files is to attach the Self Registered property to all the files in a file group, as described below. You can also install self-registering files by calling XCopyFile or VerUpdateFile with the SELFREGISTER option.

Organize all your self-registering files into unique file groups. Since a file group's properties apply to all its files, InstallShield will attempt to register every file in a file group that you specify as "Self Registered."  Therefore, InstallShield will return an error if you include any non-self-registering files in a self-registering file group.
InstallShield offers two methods for installing self-registering files:
  The batch method (recommended)
  The non-batch method
For a comparison of differences, see The batch method vs. the non-batch method.
InstallShield takes care of registering the files in this file group during setup (or when the system reboots if the files are in use?be sure to handle locked files appropriately). unInstallShield unregisters the files if they are to be removed.

Tips for installing self-registering files

Following are some further guidelines to keep in mind when installing self-registering files:

n     Make your function calls accurately with respect to calling ComponentMoveData to transfer the files. That is, you must call Enable before transferring the files, and you must call Do after the files are transferred.

n     When you call the Do function to carry out batch self-registration, SELFREGISTERBATCH must be enabled. Otherwise, Do will return FALSE.

n     Once Do is called, the internal list of queued, self-registering files gets reset, regardless of the success or failure of calling Do.

n     If Do is called to perform self-registration but no files are queued, the function will return TRUE.

n     If a self-registering DLL needs other DLLs to operate, the dependent DLLs must be in the path of the self-registering DLL before you call the Do function, or the self-registration will fail. InstallShield will change the current folder to the location where the DLL resides, thus making sure that the folder is in the path. By putting the dependent DLLs in the same location as the self-registering DLL, you can make sure that self registration succeeds.

Also note that if you have DLLs that are needed by your self-registering DLLs but are not in the same path, the self-registration will fail.

n     If you want to install files using the non-batch method after you have installed files using the batch method, you must first call Disable(SELFREGISTERBATCH).

Author Comment

ID: 6171283
I will read the comments after I find out the dependancy problem:-(

Author Comment

ID: 6186454
Thans a lot.
I am post another question:
ocx and InstallShield


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question