Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2003
    Posts
    20

    How to set this path: ...

    How must I prefine this path in my setup?
    C:\Dokumente und Einstellungen\John\Anwendungsdaten\This Program

    I work and test under German Os. Is it "%MyDocumentsDir%\Anwendungsdaten\This Program" or something else?

    Hope anyone may help me.

    Kai from Germany

  2. #2
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939
    I presume that ‘Anwendungsdaten’ is the same as ‘UserData’ in an English OS. Does the Registry value ’CachePrefix’ in HKCU\Software\Microsoft\Windows\CurrentVersion\Int ernet Settings\5.0\Cache\Extensible Cache\UserData contain ‘Anwendungsdaten’?

    You can probably use the BuiltIn Variable %Desktop% and substitute the last subfolder name with ‘Anwendungsdaten’, or you could read the environment variable %USERPROFILE% through execution of a bat file:

    @echo %USERPROFILE% > UserProfile.txt
    @exit

    Then read UserProfile.txt to assign value to your custom variable and add ‘Anwendungsdaten’ as suffix.
    (I think %USERPROFILE% can be read from HKCU\Volatile Environment: HOMEDRIVE and HOMEPATH.)

  3. #3
    Join Date
    Nov 2003
    Posts
    20
    The registry value is indeed "Anwendungsdaten".
    How do I have to set this path into my setup?
    I really don't know how to do this.
    Via "CMD" it's - %USERPROFILE%\Anwendungsdaten\The new folder\the new file

    Can anyone help me to manage this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts