This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Can InstallShield do this?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2009
12:54 PM
Can InstallShield do this?
Hello,
I do not currently use InstallShield, but I am interested in moving to a more professional installation package.
I currently use a windows batch file to:
But (as you are probably know), using windows batch files for installations is a bad, bad idea.
Does InstallShield software support doing all the actions listed above? (Specifically, can you use it to install a bunch of programs, like Apache, MySql, and PHP, along with your own files?)
Thanks,
I do not currently use InstallShield, but I am interested in moving to a more professional installation package.
I currently use a windows batch file to:
- Install Apache, MySQL, and PHP
- Edit the registry
- Edit the path
- Copy files
But (as you are probably know), using windows batch files for installations is a bad, bad idea.
Does InstallShield software support doing all the actions listed above? (Specifically, can you use it to install a bunch of programs, like Apache, MySql, and PHP, along with your own files?)
Thanks,
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2009
01:40 PM
It can, but that's assuming the redist you are going to bootstrap with a setup prereq is a properly behaving install that supports silent installations and the ability to transform the behavior to meet your needs.
Sadly, many of the open source projects tend to have low quality NSIS installers or what not. ( yes XAMPP, I'm pointing at you!! )
But even then you can use the repackager to fix that. 🙂
Sadly, many of the open source projects tend to have low quality NSIS installers or what not. ( yes XAMPP, I'm pointing at you!! )
But even then you can use the repackager to fix that. 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2009
04:16 PM
Thanks for your quick replies. I've downloaded a trial of InstallShield. 🙂
I've created my project, but I can't seem to figure out how to setup chained MSIs? I've read through the help file, which pointed me to:
Application Data -> Redistributables
The problem is that the MSIs that I want to install (Apache and MySQL) aren't in that list. Is there a way for me to browse so I can select the right MSI?
Or is there a different way I should be doing this?
Thanks for your help,
I've created my project, but I can't seem to figure out how to setup chained MSIs? I've read through the help file, which pointed me to:
Application Data -> Redistributables
The problem is that the MSIs that I want to install (Apache and MySQL) aren't in that list. Is there a way for me to browse so I can select the right MSI?
Or is there a different way I should be doing this?
Thanks for your help,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 18, 2009
10:11 PM
Maybe this will help you:
http://blog.deploymentengineering.com/2006/11/using-installshield-12-to-install-net.html
http://blog.deploymentengineering.com/2006/11/using-installshield-12-to-install-net.html
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 19, 2009
03:24 PM
Thanks! That was a helpful article.
I have one more question:
I have a batch file that I need to execute after my chained MSIs are installed. What's the best way to do this?
I see that I can create a custom action, but am not sure how to specify that it gets launched immediately after the chained MSI has been installed?
I have one more question:
I have a batch file that I need to execute after my chained MSIs are installed. What's the best way to do this?
I see that I can create a custom action, but am not sure how to specify that it gets launched immediately after the chained MSI has been installed?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 19, 2009
06:24 PM
In general, I avoid batch files because it's very difficult to write robust code and handle error exceptions.
I don't think your really talking about custom actions here, i think your saying that for the MSI's that you are chaining you need to have postinstall modifications installed.
In that scenario you could
1) Transform the MSI and insert your custom action into it so that when the actual MSI runs the modifications will also
2) Write a helper.exe that acts an intermediate between the setup.exe and the chained msi. This EXE would be the target of the prereq, it would handle the execution of both the MSI and the postinstall stuff and report back success/failure/reboot needed to the setup.exe prereq engine.
You'll see #2 in InstallShields .NET Framework prereq definitions. They call it helper.exe
I don't think your really talking about custom actions here, i think your saying that for the MSI's that you are chaining you need to have postinstall modifications installed.
In that scenario you could
1) Transform the MSI and insert your custom action into it so that when the actual MSI runs the modifications will also
2) Write a helper.exe that acts an intermediate between the setup.exe and the chained msi. This EXE would be the target of the prereq, it would handle the execution of both the MSI and the postinstall stuff and report back success/failure/reboot needed to the setup.exe prereq engine.
You'll see #2 in InstallShields .NET Framework prereq definitions. They call it helper.exe
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 19, 2009
07:08 PM
Well, my problem is this:
I am running a silent install of MySQL via the chained MSI option. This installs the server; but does not add the service name to the windows service table, or configure the MySQL INI file.
In order to do that, I need to run the MySQL Instance Config executable.
Here's an example of the command I'm trying to run:
I want to do this the right way, so I'm definitely open to suggestions. Is 'transforming the MSI' or writing a helper.exe the best way to handle this?
I am running a silent install of MySQL via the chained MSI option. This installs the server; but does not add the service name to the windows service table, or configure the MySQL INI file.
In order to do that, I need to run the MySQL Instance Config executable.
Here's an example of the command I'm trying to run:
"C:\mysql\bin\mysqlinstanceconfig.exe" -i -q ServiceName=MySQL ServerType=DEVELOPMENT DatabaseType=MIXED Port=3306
I want to do this the right way, so I'm definitely open to suggestions. Is 'transforming the MSI' or writing a helper.exe the best way to handle this?