SOLVED
Home

Intune Win32 apps error 0x80070002

%3CLINGO-SUB%20id%3D%22lingo-sub-414426%22%20slang%3D%22en-US%22%3EIntune%20Win32%20apps%20error%200x80070002%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-414426%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20my%20internship%20i've%20been%20trying%20to%20deploy%20win32%20apps%20in%20intune%2C%20i%20followed%20the%20tutorial%20on%20Microsoft%20Docs%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Fapps-win32-app-management%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Fapps-win32-app-management%3C%2FA%3E%26nbsp%3BMy%20system%20gives%20me%20a%20pop%20up%20that%20installation%20has%20started%20but%20after%20en%20couple%20seconds%20returns%20with%20a%20%22failed%20pop-up%22%20when%20i%20go%20into%20inune%20i%20get%20the%20error%26nbsp%3B%3CSPAN%3E0x80070002%20and%20sometimes%26nbsp%3BError%20code%3A%200x0%20i%20tried%20googling%20these%20but%20i%20cant%20seem%20to%20find%20anything%20intune%20related.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECan%20anybody%20point%20me%20out%20what%20the%20errors%20mean%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks!!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-414426%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-415238%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Win32%20apps%20error%200x80070002%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-415238%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300261%22%20target%3D%22_blank%22%3E%40bjornmertens%3C%2FA%3E%26nbsp%3BHi%20Normally%26nbsp%3B0x80070002%20%3D%20%22The%20system%20cannot%20find%20the%20file%20specified.%22%20Check%20that%20your%20install%20command%20line%20is%20Correct%20and%20not%20misspelled%20and%20that%20the%20files%20are%20in%20the%20Win32App%20Package..%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3EJ%C3%B6rgen%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-416886%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Win32%20apps%20error%200x80070002%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-416886%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13627%22%20target%3D%22_blank%22%3E%40J%C3%B6rgen%20Nilsson%3C%2FA%3E%26nbsp%3Bhi%2C%20i%20tried%20again%20wit%20a%20.msi%20version%20of%207zip%20(to%20try%20it%20out).%20That%20works%20without%20problem%20and%20is%20installed%20in%20the%20background.%20However%20with%20an%20.exe%20i%20now%20got%20it%20working%20sort%20of%2C%20the%20install%20command%20was%20indeed%20not%20correct.%20But%20it%20does%20not%20install%20in%20the%26nbsp%3B%20background%2C%20i%20just%20get%20to%20see%20the%20setup%20screen%20to%20install%207zip%20manually.%20I%20tried%20%2Fs%2C%20%2Fquite%2C%20%2Fsilent%2C%20%2Fs%20is%20there%20another%20parameter%20to%20install%20the%20.exe%20silently%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-422961%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Win32%20apps%20error%200x80070002%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-422961%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300261%22%20target%3D%22_blank%22%3E%40bjornmertens%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3Esee%20the%207-Zip%20FAQ%20for%20this%20info%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId-1309863781%22%20id%3D%22toc-hId-1309863781%22%20id%3D%22toc-hId-1309863781%22%20id%3D%22toc-hId-1309863781%22%3EHow%20can%20I%20install%207-Zip%20in%20silent%20mode%3F%3C%2FH4%3E%0A%3CP%3EFor%20exe%20installer%3A%20Use%20the%20%22%2FS%22%20parameter%20to%20do%20a%20silent%20installation%20and%20the%20%2FD%3D%22C%3A%5CProgram%20Files%5C7-Zip%22%20parameter%20to%20specify%20the%20%22output%20directory%22.%20These%20options%20are%20case-sensitive.%3C%2FP%3E%0A%3CP%3EFor%20msi%20installer%3A%20Use%20the%20%2Fq%20INSTALLDIR%3D%22C%3A%5CProgram%20Files%5C7-Zip%22%20parameters.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.7-zip.org%2Ffaq.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.7-zip.org%2Ffaq.html%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-436014%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Win32%20apps%20error%200x80070002%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-436014%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174439%22%20target%3D%22_blank%22%3E%40Oliver%20Kieselbach%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20you%20for%20the%20post!%20The%20%2FS%20mode%20works%20with%207zip.%20Altough%20i%20found%20out%20that%20not%20every%20installer%20works%20with%20the%20%2FS%2C%20%2Fs%2C%20....%20But%20i%20guess%20that%20most%20of%20the%20sofwtware%20will%20list%20it%20on%20there%20site.%3C%2FP%3E%3CP%3EThanks!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-438915%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Win32%20apps%20error%200x80070002%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-438915%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300261%22%20target%3D%22_blank%22%3E%40bjornmertens%3C%2FA%3E%20definitely%20correct%20that%20different%20switches%20work%20for%20different%20apps%2Fdevelopers.%20They%20need%20to%20include%20support%20for%20those%20when%20packaging.%3C%2FP%3E%3C%2FLINGO-BODY%3E
bjornmertens
Occasional Contributor

Hi!

 

For my internship i've been trying to deploy win32 apps in intune, i followed the tutorial on Microsoft Docs: https://docs.microsoft.com/en-us/intune/apps-win32-app-management My system gives me a pop up that installation has started but after en couple seconds returns with a "failed pop-up" when i go into inune i get the error 0x80070002 and sometimes Error code: 0x0 i tried googling these but i cant seem to find anything intune related. 

Can anybody point me out what the errors mean?

Thanks!!

5 Replies

@bjornmertens Hi Normally 0x80070002 = "The system cannot find the file specified." Check that your install command line is Correct and not misspelled and that the files are in the Win32App Package..

Regards,
Jörgen

@Jörgen Nilsson hi, i tried again wit a .msi version of 7zip (to try it out). That works without problem and is installed in the background. However with an .exe i now got it working sort of, the install command was indeed not correct. But it does not install in the  background, i just get to see the setup screen to install 7zip manually. I tried /s, /quite, /silent, /s is there another parameter to install the .exe silently?

 

Thanks!

Solution

Hi @bjornmertens,

see the 7-Zip FAQ for this info:

How can I install 7-Zip in silent mode?

For exe installer: Use the "/S" parameter to do a silent installation and the /D="C:\Program Files\7-Zip" parameter to specify the "output directory". These options are case-sensitive.

For msi installer: Use the /q INSTALLDIR="C:\Program Files\7-Zip" parameters.

https://www.7-zip.org/faq.html

 

best,

Oliver

@Oliver Kieselbach 

 

Thanks you for the post! The /S mode works with 7zip. Altough i found out that not every installer works with the /S, /s, .... But i guess that most of the sofwtware will list it on there site.

Thanks!!

@bjornmertens definitely correct that different switches work for different apps/developers. They need to include support for those when packaging.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies