This topic has been discussed here:
http://msgboard.alphasoftware.com/al...ad.php?t=90043
Thought I'd add what I've found that seems to work with the Astrum installer. Found out that they have a new release that includes detecting if .Net v4 is installed. Here is the download link to the latest:
http://www.thraexsoftware.com/download/aiw22850.exe
To detect on your own if .Net v4 is installed, look in the Registry folder:
HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v4\Client
It has a "Name value" of "Install" with a value of 1.
The attached jpg files show how this is setup in the Astrum Installer. As stated previously, Astrum now supports detecting .net v4. However, when you use the feature, you have 3 options of installing it. The first is to "Include in Install package". But this will almost double the size of the install exe. Another option is to tell it where the .net install file is located. But this one has to already be on the machine when the install starts. Couldn't find a way to have it not detect until my app was installed so I could include the .net install exe in the install package. The third option is to provide it with a link to download the .net install.
Therefore, I chose the explanation above and just had it detect if .net was installed. If not, then run the "dotNetFx40_Full_setup.exe" file included in the Runtime.
Hope this helps someone.
Ernie
http://msgboard.alphasoftware.com/al...ad.php?t=90043
Thought I'd add what I've found that seems to work with the Astrum installer. Found out that they have a new release that includes detecting if .Net v4 is installed. Here is the download link to the latest:
http://www.thraexsoftware.com/download/aiw22850.exe
To detect on your own if .Net v4 is installed, look in the Registry folder:
HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v4\Client
It has a "Name value" of "Install" with a value of 1.
The attached jpg files show how this is setup in the Astrum Installer. As stated previously, Astrum now supports detecting .net v4. However, when you use the feature, you have 3 options of installing it. The first is to "Include in Install package". But this will almost double the size of the install exe. Another option is to tell it where the .net install file is located. But this one has to already be on the machine when the install starts. Couldn't find a way to have it not detect until my app was installed so I could include the .net install exe in the install package. The third option is to provide it with a link to download the .net install.
Therefore, I chose the explanation above and just had it detect if .net was installed. If not, then run the "dotNetFx40_Full_setup.exe" file included in the Runtime.
Hope this helps someone.
Ernie