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
- :
- Write to register from install dialog
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
May 02, 2011
05:22 AM
Write to register from install dialog
Hi there,
I'm to to sure how to do this or if Im explaining it properly.
You have the option when you build your Setup.exe file to allow the user to install your program in any drive/folder of their choose.
I the process of the users changing the directory or usign the default one, how can I create a registry setting and put in there the current installed directory that the user used, because later on I want to use this entry for My UpdateManger so I know where the program is installed??
can anybody help with this??
I'm to to sure how to do this or if Im explaining it properly.
You have the option when you build your Setup.exe file to allow the user to install your program in any drive/folder of their choose.
I the process of the users changing the directory or usign the default one, how can I create a registry setting and put in there the current installed directory that the user used, because later on I want to use this entry for My UpdateManger so I know where the program is installed??
can anybody help with this??
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 06, 2011
02:34 AM
you can use any property like [INSTALLDIR] as registy data value in your registry.
See for example:
If your application was installed under C:\ProgramFilesFolder\MyApp and INSTALLDIR = C:\ProgramFilesFolder
then you can set your registry data to:
InstallPath = [INSTALLDIR]MyApp
and place under preferred registy key
See for example:
If your application was installed under C:\ProgramFilesFolder\MyApp and INSTALLDIR = C:\ProgramFilesFolder
then you can set your registry data to:
InstallPath = [INSTALLDIR]MyApp
and place under preferred registy key