- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Windows 7 / Windows 10 Registry Entry for Paths
- 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
There seems to be a difference on how the registry handles the paths.
Many entries I see double-quotes at the beginning the the end of path strings - like in the run section as an example.
Then the ones I inserted in the registry with installshield do not (win7 / win10) have the d-quotes.
On Win10 it doesn't seem to be an issue - on Win 7 many customers are complaining that the EXE is not launching. Possibly because of the spaces in the the paths ?
Anybody know what the proper documented process is? Double-quotes or not?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @garypaquette,
Double quotes is required in registry values, as that is the Windows suggested ways.
Windows Service: Also in addition to that read this exploits if service path is not defined in quotes: https://blogs.msdn.microsoft.com/aaron_margosis/2014/11/14/it-rather-involved-being-on-the-other-side-of-this-airtight-hatchway-unquoted-service-paths/
Thanks,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
In the Data I placed the double-quotes in front and at the end and InstallShield did the rest correctly:
Data = "[INSTALLDIR]MyApp.exe"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @garypaquette,
Double quotes is required in registry values, as that is the Windows suggested ways.
Windows Service: Also in addition to that read this exploits if service path is not defined in quotes: https://blogs.msdn.microsoft.com/aaron_margosis/2014/11/14/it-rather-involved-being-on-the-other-side-of-this-airtight-hatchway-unquoted-service-paths/
Thanks,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
This is very helpful.
Why is installshield then not placing the double quotes within the installer.
In the System Configuration -> Registry I have a key name of (example):
Name = MyApp
Data = [INSTALLDIR]MyApp.exe
How do I force that to have the double-quotes? Should the installer not handle that? I have InstallShield Pro 2018R2
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
In the Data I placed the double-quotes in front and at the end and InstallShield did the rest correctly:
Data = "[INSTALLDIR]MyApp.exe"