I'm trying to switch from using Inno Setup to build an installer and
instead have cx_freeze create an MSI.
There several things I haven't been able to figure out:
1. How do you create a shortcut in a folder under the start menu?
I can create a top-level start menu shortcut, but I can't figure
out how to put the shorcut in a folder. I've tried all sorts of
different things for shortcutName and shortcutDir, but most of them
either produce an installer error or cause the installer to hang.
The initial_target_dir setting seems to allow folder names like this:
"initial_target_dir": r"[ProgramFilesFolder]\My-Company\My-Program",
But I can't get anything like that to work for the shortcut directory.
2. How do you set the string that shows in the "Publisher" column in
"Programs and Features"?
3. When I build an MSI with 'python setup.py bdist_msi', why does
cx_freeze spew hundreds of error messages like these:
...
creating dist
removing 'build\bdist.win-amd64\msi' (and everything under it)
error removing build\bdist.win-amd64\msi: [WinError 5] Access is denied:
'build\\bdist.win-amd64\\msi\\lib\\VCRUNTIME140.dll'
error removing build\bdist.win-amd64\msi: [WinError 145] The directory is
not empty: 'build\\bdist.win-amd64\\msi\\lib'
error removing build\bdist.win-amd64\msi: [WinError 5] Access is denied:
'build\\bdist.win-amd64\\msi\\tcl\\msgs\\af.msg'
...
error removing build\bdist.win-amd64\msi: [WinError 5] Access is denied:
'build\\bdist.win-amd64\\msi\\tcl\\tzdata\\Zulu'
error removing build\bdist.win-amd64\msi: [WinError 145] The directory is
not empty: 'build\\bdist.win-amd64\\msi\\tcl\\tzdata'
error removing build\bdist.win-amd64\msi: [WinError 145] The directory is
not empty: 'build\\bdist.win-amd64\\msi\\tcl'
error removing build\bdist.win-amd64\msi: [WinError 5] Access is denied:
'build\\bdist.win-amd64\\msi\\VCRUNTIME140.dll'
error removing build\bdist.win-amd64\msi: [WinError 145] The directory is
not empty: 'build\\bdist.win-amd64\\msi'
--
Grant Edwards grant.b.edwards Yow! Jesus is my POSTMASTER
at GENERAL ...
gmail.com
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users