Search found 8 matches

Go to advanced search

by Lexy
Sat Nov 19, 2022 12:17 pm
Forum: Common Problems
Topic: Files in Use & Reboot prompt when accessing files
Replies: 8
Views: 13189
 
Jump to post

Re: Files in Use & Reboot prompt when accessing files

Like this, for example:
Image
Image

Also tried with intermediate action to save the state:
Image
Image
by Lexy
Mon Nov 14, 2022 4:07 am
Forum: Common Problems
Topic: Files in Use & Reboot prompt when accessing files
Replies: 8
Views: 13189
 
Jump to post

Re: Files in Use & Reboot prompt when accessing files

Hi Catalin,

Thank you for your response.

I did read this thread before posting mine, but for some reason unknown to me, even when I save the AI_SERVICE_STATE property value to another property, it maintains the status of the first service detected.
by Lexy
Mon Nov 07, 2022 8:07 am
Forum: Common Problems
Topic: Files in Use & Reboot prompt when accessing files
Replies: 8
Views: 13189
 
Jump to post

Re: Files in Use & Reboot prompt when accessing files

What I would do here to further investigate it, is place a "MessageBox" custom action after the second "DetectService" custom action to see what value the AI_SERVICE_STATE property holds. Perhaps it's not the expected value.
You are right, it's not the expected value. But why?
by Lexy
Mon Nov 07, 2022 8:06 am
Forum: Common Problems
Topic: Files in Use & Reboot prompt when accessing files
Replies: 8
Views: 13189
 
Jump to post

Re: Files in Use & Reboot prompt when accessing files

Thank you, Catalin, it is quite clear that one of your services is keeping the files you are trying to copy in use and therefore the custom action fails. Well, first of all, the custom action just reads the files, so even the running service doesn't keep them in use. I can copy the files from this f...
by Lexy
Fri Oct 28, 2022 10:55 am
Forum: Common Problems
Topic: Files in Use & Reboot prompt when accessing files
Replies: 8
Views: 13189
 
Jump to post

Files in Use & Reboot prompt when accessing files

We've got an application that installs 2 services. I've recently tried to add a step in the upgrade process that manually backs up parts of the application folder, suffixing it with the previous version numbers. No matter what I do or where I place the "Copy Folder" custom action (which wa...
by Lexy
Sun Jun 05, 2022 11:28 am
Forum: Common Problems
Topic: Bug in Multiline strings in custom actions
Replies: 6
Views: 8406
 
Jump to post

Re: Bug in Multiline strings in custom actions

Great birthday present, thank you, Catalin!
by Lexy
Fri Oct 29, 2021 7:13 pm
Forum: Common Problems
Topic: Bug in Multiline strings in custom actions
Replies: 6
Views: 8406
 
Jump to post

Re: Bug in Multiline strings in custom actions

Thank you, Catalin.

At the moment, I have worked around this issue by using a VBS script instead of a PowerShell one.

Code: Select all

Session.Property
reads multiline strings and I can replace \r\n characters with something else, then process this data using PowerShell.
by Lexy
Mon Oct 25, 2021 4:46 pm
Forum: Common Problems
Topic: Bug in Multiline strings in custom actions
Replies: 6
Views: 8406
 
Jump to post

Bug in Multiline strings in custom actions

It looks like PowerShell functions AI_GetMsiProperty and AI_SetMsiProperty do not support multiline properties. It is possible to create a multiline Edit field and it is possible to edit a multiline text there. However, whenever I try to use a PowerShell custom action, say, to parse an XML from that...

Go to advanced search