manussi40
Posts: 1
Joined: Fri May 12, 2017 8:12 am

Win32 Error [2]: "The system cannot find the file specified. "

Hello,

I have put the exact error name in title to be easily found by other users on Google if they have this problem.
I have installed Advanced Installer on Laptop and other pc to check behavior on both pc. It's the same.

I open an existing .MSI file using Advanced installer which installs some folders. Ok, I have added a new folder in this folders to not make deployment all the time manually. ( I clicked on Folders and I just added my desired folder ).

When I click Run I have the message : Creation Cab Files - Adding file ... etc and then it instantly fails with :
Checking builds status
Build required.

[ DefaultBuild ]
Building package (en): C:\btsauto\IronPython\IronPython-2.7.7.msi
Creating CAB file(s)

Total build time: 0 sec.
Win32 Error [2]: "The system cannot find the file specified. "
Error details

Build finished because an error was encountered.
I think it fails when creates the cab files ... Did I forgot to install something? On Both pc's I have the same error .. :(

Thank you.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Win32 Error [2]: "The system cannot find the file specified. "

Hello,

Unfortunately this is a known issue affecting our last Advanced Installer version. A fix will be available in the next version of Advanced Installer. We will update this thread as soon as the fix is available.

Until then, as a workaround, you can use Advanced Installer 13.8.1.

Thank you!

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Win32 Error [2]: "The system cannot find the file specified. "

Hello,

This was fixed in version 14.0.2 of Advanced Installer released on May 19th, 2017.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dbalsbaugh
Posts: 27
Joined: Mon Dec 11, 2006 10:41 pm

Re: Win32 Error [2]: "The system cannot find the file specified. "

I am getting this error message on AI 15.8 and 16.2. How do i find out what file it is looking for?
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Win32 Error [2]: "The system cannot find the file specified. "

Hello,

I am not quite sure why this happens.

In order for me to further investigate this, could you please forward me the following:

- the .AIP file used to build your project

- a download link for the MSI/EXE file (built with the above specified .AIP)

- a verbose log of the installation process

by e-mail at support at advancedinstaller dot com.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”