Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to give the installdirectory full path?
Examples
Installation time its asking installdirectory i will select c://program files
But installation time its taken only c:\\program

Its not taken full path, space


I need full path
What value i need to pass

What I have tried:

Pascal
//Vp6 DIRECTORY: 
  DirInputPage := CreateInputDirPage(wpWelcome, 'VP6 Directory', '', '', False, ''); 
           DirInputPage.Add('select VP6 Installation path:'); 
  DirInputPage.Values[0] := ExpandConstant('');  
  DirInputPage.OnNextButtonClick := @DirInputPage_OnNextButtonClick; 
   
  AfterID := DirInputPage.ID;
Posted
Updated 21-Nov-22 0:50am
v2

1 solution

I think you can use WizardDirValue, see: Inno Setup Help[^]

Also see example here:
how-to-show-use-the-user-selected-app-path-app-in-inputdirpage-in-inno-setup[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900