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
- :
- Re: Help For A Begginer
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
‎Dec 19, 2008
07:45 AM
Help For A Begginer
I have designed a proyect using InstallShield Wizar 2009 V15 and I want to use it as a patch for one programme.
I need this installation to read one Windows registry so it can copy the docs to this path.
The registry that has the path I need to copy data in would be:
HKEY_LOCAL_MACHINE\Software\Nemetschek\Allplan\2008.0\InstallRoot\Datapath
How can i make my installation to read the path from this Windows registry so It can copy all the data there?
Should it be something with TARGETDIR??
Thanks for your patient and constant help!!!:)
dIPOLO
I need this installation to read one Windows registry so it can copy the docs to this path.
The registry that has the path I need to copy data in would be:
HKEY_LOCAL_MACHINE\Software\Nemetschek\Allplan\2008.0\InstallRoot\Datapath
How can i make my installation to read the path from this Windows registry so It can copy all the data there?
Should it be something with TARGETDIR??
Thanks for your patient and constant help!!!:)
dIPOLO
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2008
08:05 AM
It depends on your project type; for a Basic MSI project, for example, please see this tip (PDF): http://www.acresso.com/webdocuments/PDF/is_install_dir_from_app_search.pdf.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 22, 2008
01:47 AM
I'm using a InstallScript Project and i think I've discovered where should I introduce the registry to show the path.
Don't know is how to write it properly so it retrieves the path where the files should be installed
Thanks for your time and help!
Don't know is how to write it properly so it retrieves the path where the files should be installed
Thanks for your time and help!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 23, 2008
08:12 AM
Yes, you will want to use RegDBGetKeyValueEx to read the destination value, and if it exists set TARGETDIR to the result.