My installer package works on my machine, but does not work on my colleague's machine. Looking at the log, I see that some property values ββare not stored in the ExecuteAction phrase: there are several lines in its installation log file Ignoring disallowed property, and these properties are set with the correct value during UISequence. The strange thing is that we are both admin users on local machines, which he and the domain administrator are, and I do not, and we are both on Windows 7 64bit. Therefore, I do not think that this is because he does not have administrator rights.
Exact entries in the log file:
MSI (s) (3C:50) [09:14:16:583]: Ignoring disallowed property IISMAJORVERSION
MSI (s) (3C:50) [09:14:16:583]: Ignoring disallowed property IISMINORVERSION
MSI (s) (3C:50) [09:14:16:583]: Ignoring disallowed property WCF_SRV_INSTALL_FOLDER
MSI (s) (3C:50) [09:14:16:583]: Ignoring disallowed property TARGETDIR
An easy fix will mark all these properties as Secure, but properties such as IISMAJORVERSIONare not defined in my code. I found that I can set EnableUserControlin 1to make Ignoring disallowed propertyleave. Another solution would be to create my own security properties and copy any ignored property value that I need into my own properties and read them instead of the ignored property.
After that, I found that his installer log is a record Machine policy value 'EnableUserControl' is 0, but not in my journal, which seems to point to the installation EnableUserControlon 1probably what I need. In this case, the question arises, why are there different meanings of these two machines?
, : EnableUserControl , , , / , , , , ?
, EnableUserControl , (, ?).
, - , , - :
<Package Id="*" InstallerVersion="200" Description="Web service installer" Compressed="yes" InstallScope="perMachine" />
Edit:
PhilDW, , , Secure . Secure - UAC, , Secure, ?