Bug 1004

INI file location 28 April, 2021

yakov werde
13 April, 2018
Product: PowerBuilder Category: IDE
Version: 2017 R2 Build:
Classification: Issue Publishing: Public
Priority: P3
Status: Closed Reason: NO RESPONSE
Tom Jiang @Appeon 28 April, 2021
#8
We've made multiple attempts to contact you to determine if this ticket has been solved, but unfortunately we did not get any response and we proceed to close it. 

If you consider this issue is still not resolved, please contact us.

Regards,

Tom Jiang
Tom Jiang @Appeon 17 March, 2021
#7
We have been trying to keep in touch with you to find out about the resolution of this issue. We would like to continue with our support but without more information, we are in the need to close it according to our internal help support policy but please remember you can always open a new ticket.   

Thanks for you feedback and have a nice day!

Regards,

Tom Jiang
Tom Jiang @Appeon 19 November, 2020
#6
I'm just touching base with you about this ticket. Please let us know if you still need help with this issue or if it is possible to close this ticket.

Thanks for you feedback and have a nice day!

Regards,

Tom Jiang
Govinda Lopez @Appeon 13 April, 2018
#5
That would depend on your OS settings, so yes. 

But you can also save it where ever you need it and change System Options to that path.
yakov werde 13 April, 2018
#4
So the algorithm is : Look for the INI in the path in the registry.  If it is not found look for it in the path set in system options.

Of course I do understand that Win 10 is different.  The file IS copied by the OS to the user area
yakov werde 13 April, 2018
#3
>>PB.INI is installed in the same directory as the PowerBuilder executable file, but is copied to the C:\Users\userName\AppData\Local\Appeon\PowerBuilder 17.0 for each PowerBuilder user the first time the user opens PowerBuilder. PowerBuilder subsequently uses the PB.INI copy each time the same user starts an instance of PowerBuilder IDE.<<

Hi Govinda, This is why I am asking.  Seems like the process is not as you note.  I started PB. Opened system options and then went looking in the designated folder for the INI file.  It was not there.

Reason.: My Registry Init Path  is C:\Program Files (x86)\Appeon\PowerBuilder 17.0 which does NOT match the value displayed in system options.  

It appears the file was NOT copied into the Users dir tree as you mention above.

This is important to us because I will be telling my devs to edit some PB INI settings. I need a reliable location
Govinda Lopez @Appeon 13 April, 2018
#2
Hi Yakov,

PB.INI is installed in the same directory as the PowerBuilder executable file, but is copied to the C:\Users\userName\AppData\Local\Appeon\PowerBuilder 17.0 for each PowerBuilder user the first time the user opens PowerBuilder. PowerBuilder subsequently uses the PB.INI copy each time the same user starts an instance of PowerBuilder IDE.

You can keep PB.INI in another location and tell PowerBuilder where to find it by specifying the location in the System Options dialog box. You may want to do this if you use more than one version of PowerBuilder or if you are running PowerBuilder over a network.

PowerBuilder looks in the Windows Registry for a path to the initialization file, and then looks for the file in the directory where PowerBuilder is installed. If PowerBuilder cannot find PB.INI using the path in the Registry, it clears the path value.

If PowerBuilder does not find PB.INI when it starts up, it recreates it. However, if you want to retain any preferences you have set, such as database profiles, keep a backup copy of PB.INI. The recreated file has the default preferences.

I hope this helps.


Regards,
yakov werde 13 April, 2018
#1
INI.png (110KB)

*Phenomenon:
System options displays INI file location.   No such folder/file exist  

*Reproduce Steps:
Open  System Options

Remark:
Where is the PB.INI ??  Why is the default path incorrect
OS:
Windows 7
Platform:
64-bit
Database Type:
Database Version: