Posted 23 November 2006 - 14:52
I'm making a .msi package of my product using InstallShield12. The product will run on an AMD64 Win2003 Server R2 and I build the package on my Win32 developer system.
During installation it is called some custom actions. In a package CustomActions are signed with x64 flag therefore all values of CustomActions Type are incremented by 4096 (stands for x64 scripting). Otherwise all custom actions are Type 6 - function from VBScripts stored in a binary table therefore in my package all have in a CustomAction Type value 4102 = 4096 + 6.
The package itself is normally installable, but when I try to validate it I got error:
ICE03 ERROR Value exceeds MaxValue; Table: CustomAction, Column: Type, Key(s):...
I run validatation on a regular way:
msival2.exe Pkg.msi "C:\InstallShield12Projects\darice.cub" -l Vallog.txt
Darice.cub file exists.
If I open my .msi file with Orca in _Validation table max value is 4095. For me, it looks like that IS12 know for x64 flag at design time, but at build time not. Also, darice.cub validation file do not understand x64 scripting type, too.
Where is the catch here?
Thanks in advance
Posted 23 November 2006 - 19:02
Posted 27 November 2006 - 09:18
Thanks for replay.
I also suspect something like a bug, but I have a scruple regarding darice.cub file: I got it from the latest Win2003 SDK.
Anyway, how can I correct the template (I think that you mean *.cub file, which I use for validation)? Is there any tool to do that?
Thanks in advance.
Posted 27 November 2006 - 10:56
Posted 28 November 2006 - 10:05
Thanks for replay.
During last days I've learned a little bit more about validation.
Yes, I do not need to change .cub file. Validation uses .cub file just to get rules to validate a .msi file. Values to validate are stored in a .msi file itself.
In InstallShield Community forum Michael Urman told me (InstallShieldCommunity) that it should be corrected Support\0409\ISMsiPkg[Large].itp file. I think that this file is a template as you said on a previous replays. Also, he is now noticed to improve validation.
Thanks for replay. Have a nice day.