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
- :
- Trouble with Net2.0 SP2 and No Internet
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Aug 13, 2011
11:35 AM
Trouble with Net2.0 SP2 and No Internet
We have a program that requires Microsoft 2.0 Framework SP2, if the target PC is online, all installs happily.
If the PC is off line and we install NetFx20SP2_x86.exe manually, then run our installer, all is fine.
But if the target PC is offline and we run our installer we get an error about downloading. See attachment.
We are trying to either allow the installer to run without internet or give the customer a clear message about installing NetFx20SP2_x86.exe, avoid the attach error.... :mad:
HELP!:eek:
If the PC is off line and we install NetFx20SP2_x86.exe manually, then run our installer, all is fine.
But if the target PC is offline and we run our installer we get an error about downloading. See attachment.
We are trying to either allow the installer to run without internet or give the customer a clear message about installing NetFx20SP2_x86.exe, avoid the attach error.... :mad:
HELP!:eek:
(8) Replies
‎Aug 15, 2011
07:52 AM
If all you are looking for is to determine is .Net 2.0 SP2 is installed, warn the user is missing and bail the install, you can do that by doing the following:
1) Go to the "Requirements" section of your setup routine
2) Right click "Software Requirements" and select "Create New..."
3) Fill in the screens using my screen shots below
4) Click "Finish"
That should be all you need.
1) Go to the "Requirements" section of your setup routine
2) Right click "Software Requirements" and select "Create New..."
3) Fill in the screens using my screen shots below
4) Click "Finish"
That should be all you need.
‎Sep 08, 2011
11:42 AM
Actually, you don't. That's the problem. You told your installation project that .Net 2.0 is a prerequisite, but you never told it to "embed" the .Net Installation file into your Setup.exe. Because the file is not embedded, and you aren't supplying a source for it (AKA CD-ROM based install) then it's last resort is to attempt downloading the file from the internet, which obviously fails.
You need to change the option of the Prerequisite selection for .Net 2.0
[LIST=1]
Open the Redistributables tab (Under section #2)
Right-Click on the "Microsoft .NET Framework 2.0" option you are using
In the "InstallShield Prerequisite Properties" dialog, change the Build Location to: Extract from Setup.exe
Click OK
DONE!
This will tell InstallShield to wrap the .Net 2.0 Install Files inside your Setup.exe so that it doesn't need to download from the internet. Be warned, this will significantly increase the size of your Setup.exe.
You need to change the option of the Prerequisite selection for .Net 2.0
[LIST=1]
This will tell InstallShield to wrap the .Net 2.0 Install Files inside your Setup.exe so that it doesn't need to download from the internet. Be warned, this will significantly increase the size of your Setup.exe.
‎Sep 08, 2011
07:25 PM
‎Sep 23, 2011
09:12 AM
Based on the pictures you supplied, you are not embedding the .Net Framework into your Setup.exe. If you were, then you won't get the "downloading" screen.
InstallShiled will only download the redistributables selected if it can't find it anywhere else.
I suggest you look into your settings regarding embedding to see if you can find a discrepancy. When you compile your Setup.exe, you should notice the size
of the executable increase significantly once the Framework is embedded into it.
You might want to check Step #6...
1) Under your deployment method, select the "Setup.exe" Tab
2) Make sure the last entry "InstallShield Prerequisites Location" is set to
"Follow Individual Selections"
- If you have changed it to any other selection here, it will override the previous selection to embed into the Setup.exe
InstallShiled will only download the redistributables selected if it can't find it anywhere else.
I suggest you look into your settings regarding embedding to see if you can find a discrepancy. When you compile your Setup.exe, you should notice the size
of the executable increase significantly once the Framework is embedded into it.
You might want to check Step #6...
1) Under your deployment method, select the "Setup.exe" Tab
2) Make sure the last entry "InstallShield Prerequisites Location" is set to
"Follow Individual Selections"
- If you have changed it to any other selection here, it will override the previous selection to embed into the Setup.exe