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
- :
- [InstallDir] in registry
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Sep 05, 2013
07:26 AM
[InstallDir] in registry
I want to register a key in the registry on the destination computer like this:
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\AddIns\SikkerMail]
"Description"="SikkerMail"
"FriendlyName"="SikkerMail"
"Loadbehavior"=dword:00000003
"Manifest"="C:\Program Files (x86)\Comendo Security\Sikkermail Outlook Addin\Sikkermail.vsto"
When I enter this through the IS registry pane for the destination computer, everything is fine , the manifest installs upon launching Outlook.
What I really want to do, is something like this:
"Manifest"="%InstallDir%Sikkermail.vsto".
but this just installs a key in the destination where the Manifest value is the same STRING as above, "%Installdir%" is not replaced by the full path
as expected and the mainfest does not install. How can I obtain this?
I've also tried to use [INSTALDIR] and the older version [TARGETDIR]. No result.
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\AddIns\SikkerMail]
"Description"="SikkerMail"
"FriendlyName"="SikkerMail"
"Loadbehavior"=dword:00000003
"Manifest"="C:\Program Files (x86)\Comendo Security\Sikkermail Outlook Addin\Sikkermail.vsto"
When I enter this through the IS registry pane for the destination computer, everything is fine , the manifest installs upon launching Outlook.
What I really want to do, is something like this:
"Manifest"="%InstallDir%Sikkermail.vsto".
but this just installs a key in the destination where the Manifest value is the same STRING as above, "%Installdir%" is not replaced by the full path
as expected and the mainfest does not install. How can I obtain this?
I've also tried to use [INSTALDIR] and the older version [TARGETDIR]. No result.
(1) Reply
Sep 11, 2013
05:01 AM
Hello,
Please, try avoid using(if any) "" marks while Writing Property Values to the Registry.
in your case, provide registry value data as [INSTALLDIR]Sikkermail.vsto for Manifest registry value and check if achieved required behavior.
Only for Windows Installer based projects, you can use Windows Installer properties in registry values to store information for later use by your product. At run time, Windows Installer automatically expands expressions of the form [PropertyName] in registry data to the value of the property called PropertyName. Any property defined in the Property Manager can be used in this way.
For example, if you would like to store the destination location of your software, create a registry value whose data is [INSTALLDIR]. At run time, when your installation creates the registry value, the data for that registry value is set to the location where your application is installed.
You can use the same format for registry key names and value names. For example, if you want a key name to be the name of your company, enter [Manufacturer] for the name of the key.
Regards,
Chiranjeevi
Please, try avoid using(if any) "" marks while Writing Property Values to the Registry.
in your case, provide registry value data as [INSTALLDIR]Sikkermail.vsto for Manifest registry value and check if achieved required behavior.
Only for Windows Installer based projects, you can use Windows Installer properties in registry values to store information for later use by your product. At run time, Windows Installer automatically expands expressions of the form [PropertyName] in registry data to the value of the property called PropertyName. Any property defined in the Property Manager can be used in this way.
For example, if you would like to store the destination location of your software, create a registry value whose data is [INSTALLDIR]. At run time, when your installation creates the registry value, the data for that registry value is set to the location where your application is installed.
You can use the same format for registry key names and value names. For example, if you want a key name to be the name of your company, enter [Manufacturer] for the name of the key.
Regards,
Chiranjeevi