Hi everybody, I have a problem with "InstallDirRegKey".I have a key where is stored an installation directory
ex c:\program files\hitoall\ )
I call this key , for setup location , using this string: InstallDirRegKey HKLM "SOFTWARE\Classes\Applications\hl2.exe\shell\open\command\" "SetupDir"
The result is : c:\program files\hitoall
and the Function works.
So ,
How can add a subdirectory using InstallDirRegKey?
Ex :
InstallDirRegKey HKLM "SOFTWARE\Classes\Applications\hl2.exe\shell\open\command\" "SetupDir"\Test
The results must will be
c:\program files\hitoall\test
I hope you understand my problem 🙂
And Sorry for my english .. but i'm italian ^_^ 😁
InstallDirRegKey Question or Problem
8 posts
Simply you could use SetOutPath "$INSTDIR\Test"
or !define INST_SUBDIR "Test" and use it as:
SetOutPath "$INSTDIR\${INST_SUBDIR}"
or !define INST_SUBDIR "Test" and use it as:
SetOutPath "$INSTDIR\${INST_SUBDIR}"
Tnks
I Will try 😉
I Will try 😉
Originally posted by Red WineSorry but it is not that i would 🙁
Simply you could use SetOutPath "$INSTDIR\Test"
or !define INST_SUBDIR "Test" and use it as:
SetOutPath "$INSTDIR\${INST_SUBDIR}"
Anyone can help me?
Up 🙁
Could you explain what exactly do you mean?
When your app is installed on a target then you want to add a subdir to the path? Is this the case?
When your app is installed on a target then you want to add a subdir to the path? Is this the case?
Originally posted by Red WineI try to explain with Screen Image 😉
Could you explain what exactly do you mean?
When your app is installed on a target then you want to add a subdir to the path? Is this the case?
Ok ? 🙂
I've just try with
without results 🙁
InstallDirRegKey HKLM "SOFTWARE\Classes\Applications\hl2.exe\shell\open\command\" ""\test\123\abc\lol
Use:
And modify $INSTDIR according to the result in .onInit.
And modify $INSTDIR according to the result in .onInit.