Archive: Problem with installing my data base.


Problem with installing my data base.
Hi,
I'm using NSIS to make a setup for my application(a .net windows application), I want to have MySQL installation in my setup too, every thing is OK! but the data base configurations (including password) does not work correctly. on some systems with older version of windows it runs ok but on some others with new one version (all XP versions not Vista) it does not set the password. some times when I disable the firewall and add the respective port to th efirewall exceptions before installation it works but some times no! every suggestion would be appreciated.


you can try to open the firewall during the installation before you set the password

in the variable definitions:

!define YourFirewallException "SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List"


and in the section "install"

WriteRegStr HKLM "${YourFirewallException}" "key name" "program to enable"