Python msilib: Difference between revisions
From wikinotes
No edit summary |
|||
Line 7: | Line 7: | ||
|- | |- | ||
| personal notes on msi || [[windows msi]] | | personal notes on msi || [[windows msi]] | ||
|- | |- | ||
!colspan=2| python | !colspan=2| python | ||
|- | |- | ||
Line 57: | Line 57: | ||
<blockquote> | <blockquote> | ||
See [[Windows msi]] for more detailed info (Common Tables, magic-numbers/prefixes, etc). | See [[Windows msi]] for more detailed info (Common Tables, magic-numbers/prefixes, etc). | ||
</blockquote><!-- Tables/Format --> |
Latest revision as of 16:25, 2 July 2022
Documentation
wiki personal notes on msi windows msi python msilib docs https://docs.python.org/3/library/msilib.html distutils.command.bdist_msi.py
https://github.com/python/cpython/blob/master/Lib/distutils/command/bdist_msi.py microsoft windows installer examples https://docs.microsoft.com/en-us/windows/win32/msi/windows-installer-examples msi tables reference https://docs.microsoft.com/en-us/windows/win32/msi/database-tables books The Definitive Guide to Windows Installer https://www.amazon.com/Definitive-Guide-Windows-Installer-Experts/dp/1590592972
Workflow
- create tempdir with all installfiles
- create msi from tempdir
- validate msi using
orca.exe
- right-click > Open in Orca
- Tools > Validate
- (close window, see quickfix(bottom) with issues)
- run
msiexec /i installer.msi /L*v install.log
to log installation- check
C:\
for installed files
Notes
python msilib errors python msilib basics python msilib gui python msilib workflow
Tables/Format
See Windows msi for more detailed info (Common Tables, magic-numbers/prefixes, etc).