Hi,
For my project I need to install the .NET framework, but I do not want the .NET framework to be part of my installer.
The default setting of installaware is to download the package from the internet and then install it.
But since our customers do not have internet access, the setup must be present on the network.
This is what I want to do.
The Main setup must be placed on the network eg "\\\\Server\\share_1\\MSI"
A sub directory can hold one or more 3rd party setup files like the .NET framework.
eg: \\\\Server\\share_1\\MSI\\Ext\\MSFramework.msi"
\\\\Server\\share_1\\MSI\\Ext\\OtherSetup.exe" ...
My setup has to check if there are any files present in that directory and if so, install them, if not resume the original setup.
So I've got 2 questions:
#1 : What would the code look like for checking if there are any files present in a given directory (not knowing the filenames)
#2 : How can I push these files to run, and let the main installation wait until that setup has finished and even resumes after reboot if the 3dr party setup has requested it!!!!
install external MSI- or exe-setups
install external MSI- or exe-setups
Ton Blokhuizen
Tooling Engineer
BMA BV - Netherlands
[i]BMA: leading the way in obstetrical data management
http://www.bma-mosos.nl[/i]
Tooling Engineer
BMA BV - Netherlands
[i]BMA: leading the way in obstetrical data management
http://www.bma-mosos.nl[/i]
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
For #1, you can use the Find All Files command.
For #2, you can use the Reboot and Resume command.
Note: If you use web media blocks, do a web build, and specify the network share as the download location of the .NET web media block (instead of an Internet URL), you already have all the behavior you want, for "free" - the pre-built setup will work like you described.
For #2, you can use the Reboot and Resume command.
Note: If you use web media blocks, do a web build, and specify the network share as the download location of the .NET web media block (instead of an Internet URL), you already have all the behavior you want, for "free" - the pre-built setup will work like you described.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Ok, your answer is clear, I did not know the download location could hold an network lokation.
But, i've still got some questions about #2:
If I read your solution, it seems I have to "force" a Reboot and Resume after the 3rd party setup has finished.
But this reboot has nothing to do with the reboot of the 3rd party setup?
This is what I want to do:
When my setup detects there is a 3rd party setup which has to be installed, the web media block forces this setup. so far so good.
2 questions:
#1 : What happens if the user cancels the 3dr party setup? can I detect that he/she has canceled that setup, so my setup can also quit ? I've tried to capture a result using the Run Program, but it seems the setup does not return any values.
#2 : What happens if the 3dr party setup has finished and forces a reboot? does my setup resumes after the reboot ? (the roboot is triggerd by the 3dr party setup and not by my setup!) ?
But, i've still got some questions about #2:
If I read your solution, it seems I have to "force" a Reboot and Resume after the 3rd party setup has finished.
But this reboot has nothing to do with the reboot of the 3rd party setup?
This is what I want to do:
When my setup detects there is a 3rd party setup which has to be installed, the web media block forces this setup. so far so good.
2 questions:
#1 : What happens if the user cancels the 3dr party setup? can I detect that he/she has canceled that setup, so my setup can also quit ? I've tried to capture a result using the Run Program, but it seems the setup does not return any values.
#2 : What happens if the 3dr party setup has finished and forces a reboot? does my setup resumes after the reboot ? (the roboot is triggerd by the 3dr party setup and not by my setup!) ?
Ton Blokhuizen
Tooling Engineer
BMA BV - Netherlands
[i]BMA: leading the way in obstetrical data management
http://www.bma-mosos.nl[/i]
Tooling Engineer
BMA BV - Netherlands
[i]BMA: leading the way in obstetrical data management
http://www.bma-mosos.nl[/i]
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
1) Depends on the setup. Some setups return values when they are called, others do not. You can capture the return values of programs that run.
2) That would not be handled automatically. If possible, you should detect that and prevent it. Your InstallAware setup won't close anyway without a confirmation.
2) That would not be handled automatically. If possible, you should detect that and prevent it. Your InstallAware setup won't close anyway without a confirmation.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: Bing [Bot] and 171 guests