I had to change the file limit becuase my matlab kept crashing. There is a limit in Develper on the max number of files in a package. You have to change that.
Here are my notes for Matlab.
First Problem:
This is because Windows Installer supports in 32767 files in the file table. Search for the "Authoring a Large Package" in MSI help file.
Workaorund using AdminStudio:
-----------------------------------------
If you are using a standalone repackager:
1. Browse to Repackager folder.
2. Rename IsMsiPKg.itp to IsMsiPKg.bak
3. Copy IsMsiPKgLarge.itp ti IsMsiPkg.itp
4. Perform the conversion and create the MSI.
5. Copy IsMsiPKg.itp.bak to IsMsiPKg.itp thereby restoring the
old file.
If you are using the repackager in a machine where AdminStudio is fully installed:
1. Browse to
\Developer\program files\InstallShield\Developer\Support\0409\
2. Repeat steps 2 - 5.
However, Note that transforms and patches cannot be created between two packages with different column types.
Hope this helps.
Second Problem: Granted users change permissions on this registry via GPO. Don’t know why I have to force a reapply for xp to pick it up.
As far as I can tell, MATLAB affects the following branches:
HKLM\MathWorks\MATLAB
HKCU\MathWorks\MATLAB
HKCU\MathWorks\MATLAB Editor/Debugger
and the following branches of HKEY_CLASSES_ROOT (HKCR):
Matlab.Application
Matlab.Application.x
CLSID\{3D272B00-B576-11CF-A50F-00A024583C19}
CLSID\{669CEC94-6E22-11CF-A4D6-00A024583C19}
CLSID\{70F04890-5433-11D0-B6E8-00A0249C4B47}
CLSID\{ABEFC9D0-5433-11D0-B6E8-00A0249C4B47}
TypeLib\{669CEC94-6E22-11CF-A4D6-00A024583C19}
Interface\{3D272B00-B576-11CF-A50F-00A024583C19}
Interface\{70F04890-5433-11D0-B6E8-00A0249C4B47}
Interface\{ABEFC9D0-5433-11D0-B6E8-00A0249C4B47}
Third Problem: Installer ran every time user ran software. Added some registry eateries every time user longs in and problems stopped. Could modify ntuser.dat of all use profile and then would not need to do with login batch. What ever works I guess.
;
; Matlab R13 6.5 Setup.
;
[HKEY_USERS\.DEFAULT\Software\InstallShield Repackaged Applications]
[HKEY_USERS\.DEFAULT\Software\InstallShield Repackaged Applications\The MathWorks]
[HKEY_USERS\.DEFAULT\Software\InstallShield Repackaged Applications\The MathWorks\MatLab]
[HKEY_USERS\.DEFAULT\Software\InstallShield Repackaged Applications\The MathWorks\MatLab\CreateFolder_MathWorks]
"Installed"="1"
[HKEY_USERS\.DEFAULT\Software\InstallShield Repackaged Applications\The MathWorks\MatLab\CreateFolder_MATLAB]
"Installed"="1"
[HKEY_USERS\.DEFAULT\Software\InstallShield Repackaged Applications\The MathWorks\MatLab\Folder_R13]
"Installed"="1"
[HKEY_USERS\.DEFAULT\Software\InstallShield Repackaged Applications\The MathWorks\MatLab\matlab.ini]
"Installed"="1"
[HKEY_CURRENT_USER\Software\InstallShield Repackaged Applications]
[HKEY_CURRENT_USER\Software\InstallShield Repackaged Applications\The MathWorks]
[HKEY_CURRENT_USER\Software\InstallShield Repackaged Applications\The MathWorks\MatLab]
[HKEY_CURRENT_USER\Software\InstallShield Repackaged Applications\The MathWorks\MatLab\CreateFolder_MathWorks]
"Installed"="1"
[HKEY_CURRENT_USER\Software\InstallShield Repackaged Applications\The MathWorks\MatLab\CreateFolder_MATLAB]
"Installed"="1"
[HKEY_CURRENT_USER\Software\InstallShield Repackaged Applications\The MathWorks\MatLab\Folder_R13]
"Installed"="1"
[HKEY_CURRENT_USER\Software\InstallShield Repackaged Applications\The MathWorks\MatLab\matlab.ini]
"Installed"="1"