Click to See Complete Forum and Search --> : Setup Wiz to anybody
ScottF
Dec 29th, 1999, 08:28 AM
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
ScottF
Dec 30th, 1999, 06:35 AM
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=
Aaron Young
Dec 30th, 1999, 11:34 AM
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
aarony@redwingsoftware.com
ajyoung@pressenter.com
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.