-
I want to write the Dir the user uses to install the program into when they use setup.exe I have done this before but lose the way to do it. I'm Registry.bas in VB-World and the command line
SaveSettingString HKEY_CURRENT_USER, "DIR", "String", lblDestDir
I have place it in the frmBegin cmdInstall but that does work. Can sombody help me to remember
-
I not sure where you want me to place the line. Here where I place it but it didnot work.
[Setup]
Title=Try
DefProgramGroup=Try
DefaultDir=$(ProgramFiles)\Try
SaveSettingString HKEY_CURRENT_USER, "Path", "String", lblDestDir
Setup=setup1.exe
AppExe=Try.exe
AppToUninstall=Try.exe
AppPath=
-
Check the Setup.lst File that gets Generated when you create your Setup files, there should be a section called [Setup] with a Line called Defaultdir, set it here.
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]