Announcement

Collapse
No announcement yet.

Need help with per user installation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need help with per user installation

    I'm experimenting with creating a per user installer. I want each user to have their own registry settings in HKCU, and their own exe files in the [LocalAppDataFolder]. I set ALLUSERS = "" and 'Priveliges required' to 'limited' in the project properties. When I build my project, I'm getting and ICE38 and ICE64 errors:

    Code:
    C:\Users\sen\workspace\ProduceProClient\MSI Factory\Build Files\ProduceProClient.wxs(286) : error LGHT0204 : ICE38: Component pproclient.exe installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.
    C:\Users\sen\workspace\ProduceProClient\MSI Factory\Build Files\ProduceProClient.wxs(307) : error LGHT0204 : ICE38: Component pscp.exe installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.
    C:\Users\sen\workspace\ProduceProClient\MSI Factory\Build Files\ProduceProClient.wxs(314) : error LGHT0204 : ICE38: Component autoupgrade.exe installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.
    C:\Users\sen\workspace\ProduceProClient\MSI Factory\Build Files\ProduceProClient.wxs(1863) : error LGHT0204 : ICE38: Component WinSparkle.dll installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.
    C:\Users\sen\workspace\ProduceProClient\MSI Factory\Build Files\ProduceProClient.wxs(266) : error LGHT0204 : ICE64: The directory FolderPProClientVer is in the user profile but is not listed in the RemoveFile table.
    C:\Users\sen\workspace\ProduceProClient\MSI Factory\Build Files\ProduceProClient.wxs(265) : error LGHT0204 : ICE64: The directory FolderPProClient is in the user profile but is not listed in the RemoveFile table.
    C:\Users\sen\workspace\ProduceProClient\MSI Factory\Build Files\ProduceProClient.wxs(264) : error LGHT0204 : ICE64: The directory INSTALLDIR is in the user profile but is not listed in the RemoveFile table.
    How do I solve these?




  • #2
    Can I use ALLUSERS=2 and MSIINSTALLPERUSER=1 and then [ProgramFilesFolder] to achieve a per-user installation (even for admin users)? In this case it would actually install the files to [LocalAppDataFolder]? Is that the better approach?

    Comment

    Working...
    X