Announcement

Collapse
No announcement yet.

ICE68 error

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

  • ICE68 error

    Im doing the Deferred CA Lua Script . When it compiles I got an error

    \setup.wxs(1941) : warning LGHT1076 : ICE68: Even though custom action 'SETCONFIGUREWF' is marked to be elevated (with attribute msidbCustomActionTypeNoImpersonate), it will not be run with elevated privileges because it's not deferred (with attribute msidbCustomActionTypeInScript).

    setup.wxs(1941) : error LGHT0204 : ICE68: Invalid custom action type for action 'SETCONFIGUREWF'.

    Fixing this would require direct modification in msi file by setting my Set Property CA type to 51 . How to fix it in MSI factory ?

  • #2
    The error message states that the Custom Action is not deferred, but running in-script (immediate). The settings for the CA appear to be incorrect. Please attach the project file if you need further information.

    Ulrich

    Comment


    • #3
      here you go
      Attached Files

      Comment


      • #4
        Please follow these steps to correct the issue:
        1. Double click the SETCONFIGUREWF Custom Action to edit it.
        2. On the Attributes tab, set the Scheduling to "Deferred".
        3. Check the Impersonate checkbox.
        4. Set the Scheduling to "Immediate" or "Immediate - Second Sequence" as it was initially.
        5. Set the Return type to "Check".


        Now please rebuild the MSI and see if it works.

        Ulrich

        Comment


        • #5
          Originally posted by Ulrich View Post
          Please follow these steps to correct the issue:
          1. Double click the SETCONFIGUREWF Custom Action to edit it.
          2. On the Attributes tab, set the Scheduling to "Deferred".
          3. Check the Impersonate checkbox.
          4. Set the Scheduling to "Immediate" or "Immediate - Second Sequence" as it was initially.
          5. Set the Return type to "Check".


          Now please rebuild the MSI and see if it works.

          Ulrich

          When I follow steps 2 and 3 I got this error

          setup.wxs(1943) : error CNDL0233 : The CustomAction sets a property but its Execute attribute is not 'immediate' (the default). Property-setting custom actions cannot be deferred."

          The only issue in my setting is that I did not set the Return type to Check which is step 5 .

          Thanks for your help

          Comment

          Working...
          X