|
-
Dec 29th, 1999, 09:28 AM
#1
Thread Starter
Addicted Member
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
-
Dec 30th, 1999, 07:35 AM
#2
Thread Starter
Addicted Member
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=
-
Dec 30th, 1999, 12:34 PM
#3
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]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|