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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Help dotnet installation
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
‎Mar 27, 2008
04:00 AM
Help dotnet installation
i want to install dotnet but i want to check first if the dotnet is already installed on the system. if it is already installed then IA will no longer installed it. If not then it will install it. Can someone shade some light on how would i do it..TIA:)
I want to install .net 2.
Any guide or idea/s?
I want to install .net 2.
Any guide or idea/s?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2008
09:21 AM
I'm not aware of a built-in way to detect the presence of a particular .NET version; perhaps use the Get Windows Registry Entry action to read the version information? This MSDN article, for example, mentions the registry keys and values you might look for: http://msdn2.microsoft.com/en-us/library/aa480198.aspx#netfx30_topic15...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2008
11:10 PM
Thanks for the Reply !!
i get the value then what next? how would AI know when to install or not the dotnet?
what will be the command next?
I was using a Wise before and use the following command: How would i use this in AI?
++++++++++++++++++++++++++++++++
Get Registry Key Value
Variable=VDOTNET
Key=SOFTWARE\Microsoft\.NETFramework\policy\v2.0
Value Name=50727
end
item: If/While Statement
Variable=VDOTNET
Value=50727-50727
end
item: Custom Dialog Set
Name=.Net Framework
item: Dialog
Title=.Net Framework
Text=Setup will now install .Net Framework v2.0
end
item: Push Button
Text=OK
end
end
end
item: Install File
Source=E:\EWF(Installer)\DOTNet\v2.0\dotnetfx.exe
Destination=%TEMP%\EWF\dotnetfx.exe
Flags=0000000010000011
end
item: Execute Program
Pathname=%TEMP%\EWF\dotnetfx.exe
Default Directory=%TEMP%\EWF\
Flags=00000010
end
item: Delete File
Pathname=%TEMP%\EWF\dotnetfx.exe
end
i get the value then what next? how would AI know when to install or not the dotnet?
what will be the command next?
I was using a Wise before and use the following command: How would i use this in AI?
++++++++++++++++++++++++++++++++
Get Registry Key Value
Variable=VDOTNET
Key=SOFTWARE\Microsoft\.NETFramework\policy\v2.0
Value Name=50727
end
item: If/While Statement
Variable=VDOTNET
Value=50727-50727
end
item: Custom Dialog Set
Name=.Net Framework
item: Dialog
Title=.Net Framework
Text=Setup will now install .Net Framework v2.0
end
item: Push Button
Text=OK
end
end
end
item: Install File
Source=E:\EWF(Installer)\DOTNet\v2.0\dotnetfx.exe
Destination=%TEMP%\EWF\dotnetfx.exe
Flags=0000000010000011
end
item: Execute Program
Pathname=%TEMP%\EWF\dotnetfx.exe
Default Directory=%TEMP%\EWF\
Flags=00000010
end
item: Delete File
Pathname=%TEMP%\EWF\dotnetfx.exe
end
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2008
11:41 PM
You can use the 'Set Variable' action to store the result returned from the registry and you can setup a 'Compare Variable' rule testing the variable for the value returned.