Menti
Posts: 2
Joined: Fri Apr 07, 2006 9:46 am
Location: Laatzen, Germany
Contact: Website

Two registry keys = one instpath?

Hi, I need to install a dot in the users word startup-dir. For doing that, I search

Code: Select all

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options PROGRAMDIR  
and

Code: Select all

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\General Startup       --> STARTUP
The new inst-path for my dot is programdir/startup ... how can i do this ? I just can make a dir from one property, not from both ?!

Bernd
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You can't create a subfolder for a "Property Based" folder with a full path of other directory.

For example if PROGRAMDIR is "c:\test" and STARTUP is "d:\test2" then you can't create PROGRAMDIR/STARTUP because is not a valid path.

However if you know that the second Property contain the name of a directory (not a path) then create it as a "Regular" folder.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”