During my software installation I need to create a registry key ONLY if the operating system is Windows XP.
I am not sure if I need to use the Resources > Registry in order to do this conditional key creation, or do it somewhere else. I need the installer to automatically detect the OS and then create the key if XP. I did create a Custom Behavior as shown below to detect the OS. Now I need to know what to do next. If you could be as detailed as possible it would be very helpful.
Thanks,
Jon
Within the Custom Behavior > SEARCH section >WINDOWS_VERSION > CurrentVersion:
- Root: HKEY_LOCAL_MACHINE
- KEY: SOFTWARE\Microsoft\Windows NT\CurrentVersion
- Name: CurrentVersion
- Type: Retrieve the raw value
FOLLOW US
Get the latest news in Application Packaging