-
Dec 30th, 1999, 02:53 PM
#1
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
-
Dec 30th, 1999, 03:50 PM
#2
Thread Starter
Addicted Member
I remember now how to fix the setup where it will place the path in Windows Registry.
Just place this line of code in the cmdInstall click event on the frmBegin
SaveSettingString HKEY_CURRENT_USER, "Path", "String", lblDestDir and Registry.bas in the program.
And save the program then make the setup.exe again and it work. Of course every time you make a new program you have to change the key are you copy over the old path. anyway if you have a better way I'm all ears.
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
|