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
- :
- Compiler error trying to check if .NET 3.5 SP 1 is installed
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
‎Sep 17, 2008
02:07 PM
Compiler error trying to check if .NET 3.5 SP 1 is installed
In an InstallScript project, I'm trying to determine if Service Pack 1 of the .NET framework 3.5 is installed.
I get a compile error C8038 - "numeric value required" on the following line:
nResult = Is (DOTNETSERVICEPACKINSTALLED, 1|REGDB_KEYPATH_DOTNET_35);
I can't figure out what's wrong with the syntax.
I get a compile error C8038 - "numeric value required" on the following line:
nResult = Is (DOTNETSERVICEPACKINSTALLED, 1|REGDB_KEYPATH_DOTNET_35);
I can't figure out what's wrong with the syntax.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
05:57 PM
The second argument to Is wants to be a string; I haven't tried it, but maybe
"1|" + REGDB_KEYPATH_DOTNET_35
is more like it?
"1|" + REGDB_KEYPATH_DOTNET_35
is more like it?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
07:00 PM
Yup, that solved it.
Thanks a lot for your response!
Thanks a lot for your response!