You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The per-user setup example project has ICE validation suppressed. If it is enabled, it fails to build. The output obtained is as follows:
Severity Code Description Project File Line Suppression State
Error ICE64: The directory ROOTDIRECTORY is in the user profile but is not listed in the RemoveFile table. Wix Simple Setup PerUser Installer C:\backupFolder\Code\WiX Examples\Wix-Setup-Samples\6. Wix Simple Setup Per User Installer\Wix Simple Setup PerUser Installer\Product.wxs 53
Error ICE64: The directory INSTALLFOLDER is in the user profile but is not listed in the RemoveFile table. Wix Simple Setup PerUser Installer C:\backupFolder\Code\WiX Examples\Wix-Setup-Samples\6. Wix Simple Setup Per User Installer\Wix Simple Setup PerUser Installer\Product.wxs 55
Error ICE38: Component Sample_Application.exe installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file. Wix Simple Setup PerUser Installer C:\backupFolder\Code\WiX Examples\Wix-Setup-Samples\6. Wix Simple Setup Per User Installer\Wix Simple Setup PerUser Installer\Product.wxs 72
Error ICE38: Component Sample_Application.exe.config installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file. Wix Simple Setup PerUser Installer C:\backupFolder\Code\WiX Examples\Wix-Setup-Samples\6. Wix Simple Setup Per User Installer\Wix Simple Setup PerUser Installer\Product.wxs 78
Warning ICE91: The file 'Sample_Application.exe' will be installed to the per user directory 'INSTALLFOLDER' that doesn't vary based on ALLUSERS value. This file won't be copied to each user's profile even if a per machine installation is desired. Wix Simple Setup PerUser Installer C:\backupFolder\Code\WiX Examples\Wix-Setup-Samples\6. Wix Simple Setup Per User Installer\Wix Simple Setup PerUser Installer\Product.wxs 73
Warning ICE91: The file 'Sample_Application.exe.config' will be installed to the per user directory 'INSTALLFOLDER' that doesn't vary based on ALLUSERS value. This file won't be copied to each user's profile even if a per machine installation is desired. Wix Simple Setup PerUser Installer C:\backupFolder\Code\WiX Examples\Wix-Setup-Samples\6. Wix Simple Setup Per User Installer\Wix Simple Setup PerUser Installer\Product.wxs 79
Warning ICE69: Mismatched component reference. Entry 'ApplicationStartMenuShortcut' of the Shortcut table belongs to component 'ApplicationShortcut'. However, the formatted string in column 'Target' references file 'Sample_Application.exe' which belongs to component 'Sample_Application.exe'. Components are in the same feature. Wix Simple Setup PerUser Installer C:\backupFolder\Code\WiX Examples\Wix-Setup-Samples\6. Wix Simple Setup Per User Installer\Wix Simple Setup PerUser Installer\Product.wxs 88
Warning ICE69: Mismatched component reference. Entry 'AppDesktopShortcut' of the Shortcut table belongs to component 'ComponentDesktopShortcut'. However, the formatted string in column 'Target' references file 'Sample_Application.exe' which belongs to component 'Sample_Application.exe'. Components are in the same feature. Wix Simple Setup PerUser Installer C:\backupFolder\Code\WiX Examples\Wix-Setup-Samples\6. Wix Simple Setup Per User Installer\Wix Simple Setup PerUser Installer\Product.wxs 101
Warning ICE91: The shortcut 'AppDesktopShortcut' will be installed to the per user directory 'DesktopFolder' that doesn't vary based on ALLUSERS value. This file won't be copied to each user's profile even if a per machine installation is desired. Wix Simple Setup PerUser Installer C:\backupFolder\Code\WiX Examples\Wix-Setup-Samples\6. Wix Simple Setup Per User Installer\Wix Simple Setup PerUser Installer\Product.wxs 101
The text was updated successfully, but these errors were encountered:
For our own implementation, we managed to overcome this as follows, although the procedure was very tedious (and is not necessarily the best way)!
A component with RemoveFile was added for each directory within the user profile.
Then, all components were given a registry value with KeyPath="yes". (We had one registry value and file per component, and one component for every file.)
Then, for some reason, GUIDs could no longer be generated automatically and so we had to manually specify one for each component.
The per-user setup example project has ICE validation suppressed. If it is enabled, it fails to build. The output obtained is as follows:
The text was updated successfully, but these errors were encountered: