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: using DOTNETSERVICEPACKINSTALLED with Is command
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
‎Oct 10, 2008
04:40 AM
using DOTNETSERVICEPACKINSTALLED with Is command
Hi,
Can anyone please tell me checking whether Service Pack 1 of .NET Framework 2.0 is installed or not...
I know that it can be done using Is command but still i am not able to do it
Is(DOTNETSERVICEPACKINSTALLED,REGDB_KEYPATH_DOTNET_20);
it returns a value -1.....
Can anyone suggest what is the mistake i am doing?
Thanks,
Sachit
Can anyone please tell me checking whether Service Pack 1 of .NET Framework 2.0 is installed or not...
I know that it can be done using Is command but still i am not able to do it
Is(DOTNETSERVICEPACKINSTALLED,REGDB_KEYPATH_DOTNET_20);
it returns a value -1.....
Can anyone suggest what is the mistake i am doing?
Thanks,
Sachit
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 10, 2008
08:35 AM
When you're using the DOTNETSERVICEPACKINSTALLED constant, the second parameter should be in the following format:
You need to include that pipe character (|).
So, I think you need to add the service pack number like this:
Service Pack Number|.NET Version Registry Constant or Path
You need to include that pipe character (|).
So, I think you need to add the service pack number like this:
Is(DOTNETSERVICEPACKINSTALLED,1|REGDB_KEYPATH_DOTNET_20);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 10, 2008
09:03 AM
Sorry! I think I should have suggested this:
Is(DOTNETSERVICEPACKINSTALLED,"1|" + REGDB_KEYPATH_DOTNET_20);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 12, 2008
11:06 PM
thanks a lot.........
it worked...
Sachit
it worked...
Sachit