So, in add_ui(), I tried changing
error.control("ErrorIcon", "Icon", 15, 9, 24, 24, 5242881, None,
"py.ico", None, None)
to
error.control("ErrorIcon", "Icon", 15, 9, 24, 24, 5242881, None, None,
None, None)
But I still get this (when I've enabled the pre-install script feature),
so I think this is a bug in MSI.
Now to figure out the pre-install problem, once I've put an icon back in the
Dialog.
Action 10:32:02: PreInstall.
Action start 10:32:02: PreInstall.
MSI (s) (2C:A8) [10:32:02:322]: Note: 1: 1721 2: PreInstall 3:
C:\WINDOWS\Installer\MSIB4.tmp 4:
MSI (s) (2C:A8) [10:32:02:322]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (C8:68) [10:32:02:332]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDlg
The installer has encountered an unexpected error installing this package. This
may indicate a problem with this package. The error code is 2835. The arguments
are: ErrorIcon, ErrorDlg,
Error 1721. There is a problem with this Windows Installer package. A program
required for this install to complete could not be run. Contact your support
personnel or package vendor. Action: PreInstall, location:
C:\WINDOWS\Installer\MSIB4.tmp, command:
MSI (s) (2C:A8) [10:32:05:286]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (2C:A8) [10:32:05:286]: Product: UpLib-1.7.9 -- Error 1721. There is a
problem with this Windows Installer package. A program required for this
install to complete could not be run. Contact your support personnel or package
vendor. Action: PreInstall, location: C:\WINDOWS\Installer\MSIB4.tmp, command:
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig