hello,
i am currently trying to change some values in an .INI file, however that needs to be done with the input from the user.
in the installer i included an extra dialog just for that purpose.
on that dialog i have added a combobox and a edit box as well as a button.
adding value's to the combobox is realy easy and the edit box as well since it gets the input from the user.
this is how i want the function to work from the user perspective:
1) Choose value from combobox.
2) enter a value in the edit box.
3) press confirm button.
4) done.
this is how i want the function to work from my perspective:
1) choose value in the combobox.
2) enter a value in the edit box.
3) press confirm button.
4) confirm button retrieves both input values.
5) function to change the selected values in the .INI file with the retrieved data.
6) save and close the .INI file ( if needed )
however i have a couple of questions to get this idea working.
1) there is a custom action to extract the value from the combobox bud it seems there is none for an edit box. is this correct?
2) how can i use the value retrieved from the combobox to change the selected value in the .INI file? i would like to use the "text file update" function for this since i can search for the selected part that needs to be changed. bud how can i implement it? do i insert the retrieved data call from the combobox in the replace box? "property|Value1#Text1"as described in the documentation?
also is it possible to specify more precisely what needs te be changed? like the line(s) it needs to edit?
3) the same as point 2 bud then for an edit box.
FOLLOW US
Get the latest news in Application Packaging