In the express edition, is it possible to edit INI files (my app does not use Registry entries). Here's the INI file:
Windows 2000 or Windows XP users would need this:
[General]
Repository=C:\\Documents and Settings\\(Username)\\Local Settings\\Application Data\\RaggieSoft\\Global RepositoryWindows 98 Second Edition or Windows ME would need this:
[General]
Repository=C:\\Program Files\\Common Files\\RaggieSoft\\Global RepositoryThe INI file is SETTINGS.CFG and it's located in [INSTALLDIR] (using MSI properties) - I can change it to SETTINGS.INI if I have to
What I need to do is the following:
During the installation, this INI file needs to be edited as needed depending on the operating system (be it 98 SE, ME, 2000, or XP). It would only need to be installed if the "StoreTrainer" (the name of my app) feature is installed.
I'm on a budget, so I can only afford the Express edition.
Editing INI files in Express
-
- Posts: 4
- Joined: Mon Aug 22, 2005 6:35 pm
Hmm...
Maybe this could be an idea for future versions. I don't know any installer that doesn't do INI files in their basic version (Wise for MSI 6 Standard, Wise Installer Standard 9, Inno Setup 2.0 and above, Nullsoft, and InstallShield Express 3.0 - their first entry level MSI installer - through IS Express 11).
This would be helpful.
In the meantime, I figured out a way:
1. I used a --blank-- entry for the Repository entry as installed by Setup
Meaning, SETTINGS.CFG is as follows:
[General]
Repository=--blank--
2. When I had StoreTrainer start for the first time, I had it create the proper entry (including folders as needed) in SETTINGS.CFG
3. During Unistall, I had it call TSTORE5.EXE /UNINSTALL (TSTORE.EXE is the StoreTrainer main EXE file) to remove the folders and Repository files
Maybe this could be an idea for future versions. I don't know any installer that doesn't do INI files in their basic version (Wise for MSI 6 Standard, Wise Installer Standard 9, Inno Setup 2.0 and above, Nullsoft, and InstallShield Express 3.0 - their first entry level MSI installer - through IS Express 11).
This would be helpful.
In the meantime, I figured out a way:
1. I used a --blank-- entry for the Repository entry as installed by Setup
Meaning, SETTINGS.CFG is as follows:
[General]
Repository=--blank--
2. When I had StoreTrainer start for the first time, I had it create the proper entry (including folders as needed) in SETTINGS.CFG
3. During Unistall, I had it call TSTORE5.EXE /UNINSTALL (TSTORE.EXE is the StoreTrainer main EXE file) to remove the folders and Repository files
Who is online
Users browsing this forum: No registered users and 16 guests