View Single Post
  #4  
Old 25-12-2019, 20:22
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Thank you Simorq.

I don't know where I was with my head....
It was supposed to look like this.
Code:
WizardForm.DirEdit.Text := RemoveBackslashUnlessRoot(ExpandConstant(Trim(GetValStrEx('InstallOptions', 'DefaultInstallDir', '')))) + GetAppName('')

WizardForm.DirEdit.Text := AddBackslash(ExpandConstant(Trim(GetValStrEx('InstallOptions', 'DefaultInstallDir', '')))) + GetAppName('')
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
mausschieber (26-12-2019), Simorq (26-12-2019)