View Single Post
  #1090  
Old 11-07-2014, 16:20
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by MMR View Post
thanks Razor12911 but it didn't work well , after opening setup.exe file it work like this :


but if press browse & change the location it dosn't work like this :

please any help .
[setup]
defaultdirname={sd}

[code]
procedure DirEditOnChange(Sender:TObject);
begin
WizardForm.DirEdit.Text:=AddBackSlash(ExtractFileD rive(WizardForm.DirEdit.Text));
end;

procedure InitializeWizard;
begin
WizardForm.DirEdit.OnChange:=@DirEditOnChange;
end;
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
MMR (12-07-2014)