Jane
Thanks,
Looks like we had similar thoughts
Here's how I dood it. I am just starting again to use SB6, SB4 was such a
friend to me.


Set Variable %REGVALUE% to FUNCTION:Get Registry("LocalPath") from
"HKEY_LOCAL_MACHINE\SOFTWARE\InvoicePartner"
! If previous version not detected, abort nstallation

If %_SB_ERRORCODE% Equals "0" Then
Display Message Box "Cannot detect previous version
information!\n\nPle..." -- "Error"
/* Set Variable %_SB_INSTDIR% to FUNCTION:Get Registry("LocalPath") from
"HKEY_LOCAL_MACHINE\SOFTWARE\GaragePartner" */
Set Variable %_SB_INSTALLDIR% to "c:\InvPartner" !!!!! Just need to get
them Close <g>
Define Wizard Dialog "#1" (Select Install Folder) (%_SB_INSTALLDIR%)
!!!!They get a chance to select.
Else ! If Registry is there
! Set installation folder to detected folder
Set Variable %_SB_INSTALLDIR% to "%REGVALUE%"
End







--
Dan Scott
Garage Partner Pro
www.garagepartner.com