cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MATLAB: IS Dev8 crashing

I am repackaging MATLAB 13.1 into an msi for distribution. I have successfully converted the application into an msi using the method of one cab per component. This however produces a redistributable with 4,393 files, not exactly ideal when the directive is to stream the cab internal to the msi. I have settled on trying to make one cab file per feature for only 11 files total but Developer keeps crashing with the error I am posting. Developer will create one msi with internal cab but randomly leaves files out of the cab forcing the creation of an additional component (to time consuming to go through and see what fails next, besides who knows how long it will stay functioning). Any advice will be greatly appreciated. Mike

p.s. this error is happening on a XEON 3.06 Ghz with 1 Gb RAM Win XP Pro system.

Exception ACCESS_VIOLATION (0xc0000005)
at address 0x6485251b trying to read address 0x00000128.

File : C:\Program Files\InstallShield\AdminStudio\5.0\Developer\isdev.exe
Version : 8.2.0.160
Exception : c0000005
Address : 6485251b
Access Type : read
Access Address : 00000128

Registers : EAX=00000128 CS=001b EIP=6485251b EFLGS=00010206
: EBX=0012e074 SS=0023 ESP=0012e024 EBP=0012e044
: ECX=0012e074 DS=0023 ESI=0012e070 FS=003b
: EDX=00000000 ES=0023 EDI=00000128 GS=0000

Stack Trace : 648f572d 648f553c 648f537d 648f49d1
: 648d4d91 648d4715 6486d6d4 6486df23
: 638e49bc 638e2bf2 638bd171 638cd0b1
: 638de1b3 1001cc0e 10018567 0040a275
: 00412816 73dd2976 73dd29d7 73dd1cea
: 00430db1 73dd1c73 73dd1bfb 73dd1bba
: 77d67ad7 77d6ccd4 77d445bd 77d447d4
: 77f75da3 77d45a71 00434daf 73dd206f
(2) Replies
I was able to build the msi with one cab per feature in DevStudio 9. If anyone can tell me why it failed in developer 8 (in ADminStudio) I would still appreciate it as there are more apps of the size of MatLab (1 Gb uncompressed) that I will be working on for our engineering department...Mike
CChong
By Level 11 Flexeran
Level 11 Flexeran
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"
Top Kudoed Authors