This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aldehoff
Recipients aldehoff, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-02-23.15:46:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487864774.78.0.845992185721.issue29633@psf.upfronthosting.co.za>
In-reply-to
Content
This is a revival of issue 1298962 (http://bugs.python.org/issue1298962) from 2009. I can reproduce the problem with an MSI created by cx_Freeze and bdist_msi on a Windows 7 64bit system in a company domain. Python is at version 3.6.0, cx_Freeze is at 5.0.1. I am a user with elevated user rights but not an admin. When installing the MSI, the files are always copied to C:\, whether I have changed the installation directory in GUI or stuck to the default path 'C:\Program Files (x86)\foo'. The program is executable and runs fine. The Uninstaller removes all files without a trace.

Following the suggestions from issue 1298962 I have modified the MSI tables in Orca by adding a new Property entry with key 'SecureCustomProperties' and value 'TARGETDIR' fixes the MSI. It now installs into the desired directory. I can reproduce this on multiple builds.
History
Date User Action Args
2017-02-23 15:46:14aldehoffsetrecipients: + aldehoff, paul.moore, tim.golden, zach.ware, steve.dower
2017-02-23 15:46:14aldehoffsetmessageid: <1487864774.78.0.845992185721.issue29633@psf.upfronthosting.co.za>
2017-02-23 15:46:14aldehofflinkissue29633 messages
2017-02-23 15:46:14aldehoffcreate