InstallShield fails to change the location of VDIR_INI and puts additional dictionaries to VDIR_DATA in the wrong place

I have some problems when creating an installation/MSI-Package for Lotus Notes 6.5.1 Swedish, with the InstallShieldTuner. Additional dictionaries and a modified notes.ini are put in the wrong locations.

Here’s the background information.

I’m trying to create a semi-automated installation with the “InstallShieldTuner for Lotus Notes”, for Lotus Notes 6.5.1 Swedish Edition. Both the InstallShieldTunder and the Lotus Notes installationkit are from the Lotus Notes CD that’s distributed as a part of the customers ordinary shipping.

The goal is to have the InstallShield create an installation where the Notes program directory is located to “C:\Program\Notes” and the data directory located to “H:\Notes”. Further on, the “Notes.ini” file and some additional dictionaries should be located in the data directory as well (H:\Notes).

No Lotus specific “HKEY_CURRENT_USER” or “HKEY_LOCAL_MACHINE” values from the last installation is left in the registry.

Problem

Most things go well, except that the installation doesn’t put the notes.ini and the dictionary files in the data directory at H:\Notes, they are instead put in C:\Program\Notes\Data - as the only files in that directory.

Further I see that the parameter VDIR_INI in the registry show the value "C:\Program\Notes" after the installation, creating another notes.ini in this directory. Note that I’ve not included a second notes.ini as a file, instead I’ve imported it into the IniFiles manager - which I believe is supposed to write the “real” notes.ini upon execution of the installation kit. Therefore I’m somewhat surprised to find that tha installtion generates two different notes.ini files.

Steps to reproduce

  1. Start the InstallShieldTuner for Lotus Notes.

  2. Choose “Create a new transform file”.

  3. Select the MSI-file from the Lotus Notes Client 6.5.1 Swedish installation kit.

  4. Select where the “Windows Installer Transform File” should be saved.

  5. Press the button “Create Transform File”.

  6. Select all available features from “2. Setup Organization/Features” to be installed on the “local drive”.

  7. In “5. Application Configuration/Setup Properties”, modify these lines to show the following:

    DATADIR H:\Notes

    PROGDIR C:\Program\Notes

    AgreeToLicense Yes

    NTMULTIDIR C:\Program\notes\

    and add the following parameters/values

    VDIR_COMMON H:\Notes

    VDIR_COMMON_W32 H:\Notes\W32

    VDIR_DATA H:\Notes

    VDIR_INI H:\Notes

    VDIR_SHARED H:\Notes

    VDIR_SHARED_HELP H:\Notes\Help

    VDIR_SHARED_MODEMS H:\Notes\Modems

    INIPARAM H:\Notes

Here I selected “File/Save”.

  1. In “3. Target System Configuration/Files”, add additional dictionaries to VDIR_DATA.

  2. Set the shortcuts in "3. Target System Configuration/ Shortcuts/Folders to point to H:\Notes for the notes.ini file.

  3. Import a notes.ini file to the “3. Target System Configuration/IniFiles” VDIR_INI location. Use owerwrite as a selection.

    This notes.ini file points “Directory” to “H:\Notes” as well.

  4. Under “6. Prepare to to Package/Location”, select the location of the “installation kit to be”.

  5. Under “6. Prepare to to Package/Setup”, select to create a “Setup.exe” and give the command line argument “/qb+” to it.

  6. Select File/Save

  7. Select “Project/Package”

  8. Copy the installation kit to the workstation where you will run the installation. Make sure it already has a “H:\Notes” with the file “user.id”.

  9. Run the installation.

The notes.ini and the dictionaries will be placed in C:\Program\Notes and all the templates and other similar stuff in H:\Notes.

Another notes.ini will be created in C:\Program\Notes.11. Under “6. Prepare to to Package/Location”, select the location of the “installation kit to be”.

  1. Under “6. Prepare to to Package/Setup”, select to create a “Setup.exe” and give the command line argument “/qb+” to it.

  2. Select File/Save

  3. Select “Project/Package”

  4. Copy the installation kit to the workstation where you will run the installation. Make sure it already has a “H:\Notes” with the file “user.id”.

  5. Run the installation.

The notes.ini and the dictionaries will be placed in C:\Program\Notes and all the templates and other similar stuff in H:\Notes.

Another notes.ini will be created in C:\Program\Notes.

If you take a look in the registry (HKEY_CURRENT_USER), you’ll see that VDIR_INI points to the wrong location, while all other parameters that was changed in the same way seem to point to the right locations.

Only the VDIR_INI has got the wrong value in the registry. This is probably the cause to why the modified notes.ini and the dictionaries are put in the wrong directory

The HKEY_LOCAL_MACHINE settings seem to be alright.

Subject: InstallShield fails to change the location of VDIR_INI and puts additional dictionaries to VDIR_DATA in the wrong place

Hi,

I am trying a similar setup but we want to do a multi-user install which will split out the template files from the actual data. I have this working sucessfully on some test machines but when I introduce it into the real world of network space restrictions etc I am getting some issues with the space requirements calculation.

My method (ps we’re using Zenworks to distribute so reg fixes etc are a cinch) is to set the DATADIR to f:\notes\data

and ApplicationUsers = AllUsers.

Run the install package (it will write a default notes.ini and other data to the c: drive into the c:\documents and settings\allusers\application data\lotus\ folder.

Before launching the Notes Client we do a Reg Fix to set \HKEY_CURRENT_USER\Software\Lotus\Notes\6.0\NotesIniPath = f:\notes\data.

You also need to copy bookmark.ntf to f:\notes\data.

Launch Notes and it should fly !

My problem is :

The Space requirement for the Data Directory (F:\notes\data) is being calculated as 80 mb but the install only needs 15 mb on the f:\ drive.

Users have a 50 mb restriction on their home

directory and we don’t want to increase this just for the install to run.

Does anyone know how to change the requirement calculation within the install shield package ?

Cheers,

Ian