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

Exception encountered

Hello,


I need to do an alteration in a file of a MSI done already.
I need of in a file activate the option "Always Overwritte".
To do this alteration I open MSI in the Editor of AdminStudio 6 Tools, and the file that I want to do that alteration meets in SystemFolder, and it is xxxx.dll.
I click of following with the right button of the mouse on top of the ficheiro and I select the such option.
When I make OK appears the following error:

Exception ACCESS_VIOLATION (0xc0000005)
at address 0x65fdd63c trying to read address 0x00000000.

File : C:\Program Files\InstallShield\AdminStudio\6.0
\Editor\System\isdev.exe
Version : 10.51.0.126
Exception : c0000005
Address : 65fdd63c
Access Type : read
Access Address : 00000000

Registers : EAX=00000000 CS=001b EIP=65fdd63c
EFLGS=00010202
: EBX=00000000 SS=0023 ESP=0012dcf8 EBP=0012dd34
: ECX=001581d8 DS=0023 ESI=0012dd48 FS=003b
: EDX=001581d0 ES=0023 EDI=0012dcfc GS=0000

Stack Trace : 65fdd6bf 65fdcbee 651c06af 64d457df
: 64d098fc 64d0bdbb 73dd1b9b 73dd1b05
: 73dd1a58 68d52f86 77d48734 77d48816
: 77d4b4c0 77d4b50c 7c90eae3 77d4b903
: 5d096072 5d0b014f 5d0c3fe3 5d0c7513
: 5d0c79ad 5d0c7e5c 77d48734 77d5418d
: 77d53fd9 77d6e571 77d48734 77d48816
: 77d4c63f 77d4e905 73dd216b 73dd1bb2


And after appear this error, the Editor window close automatically.

Somebody knows how I can solve this problem?

Thanks,

Ana Marta
(2) Replies
I'm sorry that you have experienced this problem. Can you please clarify a bit the steps you are taking that caused this issue. I did try opening an MSI package in direct mode, right click on a file and selecting Properties. When I do this the properties dialog display's correctly. I'd like to reproduce this so that I can get the problem corrected.

As a quick work arround, you can go to the Direct Editor and in the File Table, change the version of the file that you want to always overwrite to 9999. This is called Version Lying and it only impacts the MSI, not the actual version of the file being installed. The MSI help explicitly says you should not do this. The only thing that I have seen this impact has to do with patching...although the patching enhancements in MSI 3.0 eliminate this. This is the only way that I know of to have a file "Always Overwrite" another file.

Regards
David Thornley
David Thornley wrote:
I'm sorry that you have experienced this problem. Can you please clarify a bit the steps you are taking that caused this issue. I did try opening an MSI package in direct mode, right click on a file and selecting Properties. When I do this the properties dialog display's correctly. I'd like to reproduce this so that I can get the problem corrected.

As a quick work arround, you can go to the Direct Editor and in the File Table, change the version of the file that you want to always overwrite to 9999. This is called Version Lying and it only impacts the MSI, not the actual version of the file being installed. The MSI help explicitly says you should not do this. The only thing that I have seen this impact has to do with patching...although the patching enhancements in MSI 3.0 eliminate this. This is the only way that I know of to have a file "Always Overwrite" another file.

Regards
David Thornley


Hi David,

You asked me to read this thread as it seemed to be similar to mine. Yes in fact, I think it's exactly the same problem. As you note, the properties dialog displays correctly, but if you change the version and hit OK, at exactly that point, it crashes and does a complete restart.

I was able to change the version to 9999 in the direct editor successfully. I must say the editor runs a bit slowly on a large msi file (160 MB). Could the large size be triggering the problem above?

So, thanks heaps for the workaround. I hope this extra info helps you reproduce the bug as well.