01-04-2025 02:55 AM
Hello All,
When building the installer, I have no idea why this error come out recently. it is ok before. while building the single 'exe' is OK. is there something wrong with the windows update?it seems the installer is working, but can I resolve this issue?
here is the error information.
Click the link below to visit the Application Builder support page. Use the following information as a reference:
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Close.vi
The following errors and warnings were recorded during the build:
Error:
Error deleting directory.
Details:
Error deleting directory "D:\***(installerpath)\temp\".
Additional details:
Error deleting directory.
Error deleting directory "D:\***(installerpath)\temp\dp\".
Internal system error.
An internal system operation returned the error "Access is denied.".
Code:
-12
Solved! Go to Solution.
01-04-2025 08:57 AM
01-18-2025 01:02 AM
Hi raphschru,
Thanks for the reply.
I did try to run with an administrator account. but it seems the same.
01-20-2025 12:58 AM
It is strange that I got an email telling me there is a new reply from "mahakpr2". but I can't see the reply here.
I didn't create and delete the folder manually. It is handling by the "LabVIEW installer builder". and I don't know why it happen recently.
01-20-2025 03:55 AM
@yeah wrote:
It is strange that I got an email telling me there is a new reply from "mahakpr2". but I can't see the reply here.
"mahakpr2" is likely a bot/spam account, which is why the advice was a bit off.
The message was deleted by a forum administrator.
03-05-2025 08:48 AM
Hello, I am having the same problem. Out of a sudden it started returning me this error. Tried running as admin, but I get the same result as before.
06-11-2025 01:19 PM
We're you able to get this resolved? I'm having the same issue..
10-23-2025 08:09 PM
not yet, but some of the installer seems don't have this issue.
10-23-2025 08:24 PM
Try building it to somewhere you KNOW you have access to, like your desktop. Sometimes Windows gets all huffy about file permissions for some reason.
Looking at "Controlled folder access" can be a clue sometimes, too. Windows sometimes thinks a program is acting like ransomware, and decides to not let you change something even though you should have access.
You can also check the Windows event viewer to see if there are any security alerts; sometimes stuff goes in there that can tell you things.
10-24-2025 03:31 AM
maybe this is a usecase for microsofts powertoys file-locksmith