Is InstallShield the solution for creating a self-contained program?

  • Thread starter Thread starter sweetjones
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 4K views
sweetjones
Messages
44
Reaction score
0
I have exe that needs some .DLL files to run on other cpu's that don't have Visual Studio on them. The only way to run my program is to put the .DLL files in the Windows/system32 path. Is there a way of including the information that's in the .DLL files in my code so that everything can compile together? Or is there a way of creating an All-In-One Installer that I can write specifically where to put these files? My main goal is to put my program on a file hosting site where all u have to do is go to the URL and run the program. Thanx In Advance!
 
on Phys.org
You can put the dll in the same folder as your app.
If you are using microsoft's .msi installer you just add the redistribution .msm file to the build.
I would recommend the free InnoSetup (www.jrsoftware.org/isinfo.php) installer, it is much easier to use than the microsoft .msi one and has a section describing how to handle system dlls cleanly.
 
mgb_phys said:
You can put the dll in the same folder as your app.
If you are using microsoft's .msi installer you just add the redistribution .msm file to the build.
I would recommend the free InnoSetup (www.jrsoftware.org/isinfo.php) installer, it is much easier to use than the microsoft .msi one and has a section describing how to handle system dlls cleanly.
That sounds good to me. I'll check it out. I also was thinking about Batch Files. Would that be a good solution? Zip up the .exe, the .DLL files, and and make a Batch file that sends these file to the correct path. What about that scenario?

P.S. -Which one of the programs I need to use on that Inno Setup website?
 
Last edited:
The installer is isetup-5.2.1.exe ( or whatever version ) in the download section.

You write a script in a text file which contains the list of files you want to send and where to put them. Run innosetup on the text file and it builds a "setup.exe" which contains all the files. You send it to your customer, they run the setup.exe and it puts the files in the correct directory, there is no need for batch files.
 
mgb_phys said:
The installer is isetup-5.2.1.exe ( or whatever version ) in the download section.

You write a script in a text file which contains the list of files you want to send and where to put them. Run innosetup on the text file and it builds a "setup.exe" which contains all the files. You send it to your customer, they run the setup.exe and it puts the files in the correct directory, there is no need for batch files.

Thanks a lot for your help. I'll give it a shot.
 
Man, that was easy. I love that program. It works really well. Now all I have to do is figure out how to change the shortcut icon with a Batch File. Thanks Again for your help!
 
InstallShield makes software just for this purpose. You specify what files to include in the setup package, change icons, etc...I have an older copy that I use for most of my programs. It works well for me...