subhendu
Posts: 7
Joined: Mon Jan 02, 2006 12:34 pm

Locking of INI file

Hi,

I'm using Advanced Installer for Java where CLASSPATH and other settings are being stored into a INI file. After the Installation I can easily change the INI file. Can u give me an idea so that any user can't modify the INI file.

Very important for any kind of JAVA application.

Another problem:

In system32 folders of Files and Folders of Advanced Installer how can I ignore the overwriting of wininet.dll if that file is already there in system32 in windows. Also How can I check the non-availability of wininet.dll in system32 folder.

Thanks in advance
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

I am afraid that you cannot prevent the user from modifying the INI after installation. That is not a problem since the user might want to modify the INI file. This could be, for example, if he or she desires for the application not to use a bundled JRE but rather another JRE installed on that machine.

The wininet.dll file is part of the DLLs installed by Internet Explorer. It is not recommended to try to install that file alone. If you need that file or a specific version of it, I would suggest making that version of Internet Explorer a prerequisite for your application.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”