Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
thanks for your reply. i will post the thread in the appv forum.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Team,
I am facing an issue while converting my office365 offline source in to .appv using the command line
example : setup.exe /packager configuration.xml "C:\New folder (2)"
configuration.xml consists of
<Configuration>
<Add SourcePath="" OfficeClientEdition="32" >
<Product ID="O365ProPlusRetail">
<Language ID="en-us" />
</Product>
</Add>
<Logging Path="%temp%" />
</Configuration>
my problem is : the package almost downloaded and its created the .app file with 1GB content, without creating any .xml file.
i have observed in flattner.log file , i can see some problem related to appv. the log is is as follows
Flattener.exe Event: ClosedPackageFile
Flattener.exe Event: ClosedPackageFile
Flattener.exe : ERROR : Packaging FAILED: Value does not fall within the expected range.
Exception (outer): Value does not fall within the expected range.
ST (outer): at Microsoft.ApplicationVirtualization.Packaging.PackagingEngine.<FinalizePackage>b__12(Exception exception)
at Microsoft.ApplicationVirtualization.Packaging.ExceptionGuard1.Guard(Action logStart, Action execute, Action logEnd, Action1 exceptionAction)
at Microsoft.ApplicationVirtualization.Packaging.PackagingEngine.FinalizePackage(Func`1 writerFactory)
at Microsoft.ApplicationVirtualization.Packaging.Packager.FinalizePackage(IPackageFiles packageFiles, String manifestPath, String registryHivePath, String streamMapPath, String packageHistoryPath, String installPath, String packagePath, CompressionOption compression, Predicate`1 addFileToPublishingFeatureBlock, PackagingEngineType engineType, PackagerParameters packageParameters)
at Microsoft.ApplicationVirtualization.Packaging.IsvPackager.FinalizePackage(IPackageFiles packageFiles, String manifestPath, String registryHivePath, String streamMapPath, String installPath, String packagePath, CompressionOption compression, Predicate`1 addFileToPublishingFeatureBlock, PackagingEngineType engineType)
at Microsoft.Tools.Office.C2R.Packager.PackageAsFile.CreatePackage(String ingredientsXmlFileIn, String destinationPackageFilePath, Int32 countOfFilesToAdd, String manifestFileIn, String manifestLocFileIn, String streamMapIn, String productName, String packageGUID, String packagePlatform, String packageVersion, String appID, String manifestFileOut, String registryHiveFileOut, String installPath, JobType jobType, String workingDir, CompressionOption compressionOption, VFontsType vfontsType, ArrayList comEPClassToInclude, ArrayList comEPInterfaceToInclude, ArrayList comEPTypeLibToInclude, HashSet`1 usedKnownFolderIDs, Boolean isLaunchedByFlattener)
Exception (inner): Value does not fall within the expected range.
ST (inner): at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.ApplicationVirtualization.Packaging.Impl.AppxPackageWriter.Close(Stream inputManifestStream)
at Microsoft.ApplicationVirtualization.Packaging.AppxPackageWriter.CloseAndDisposeWriter()
at Microsoft.ApplicationVirtualization.Packaging.AppxPackageWriter.Dispose(Boolean disposing)
at Microsoft.ApplicationVirtualization.Packaging.AppxPackageWriter.Dispose()
at Microsoft.ApplicationVirtualization.Packaging.PackagingEngine.OnFinalizePackage(Func`1 writerFactory)
at Microsoft.ApplicationVirtualization.Packaging.PackagingEngine.<>c__DisplayClass16.<FinalizePackage>b__10()
at Microsoft.ApplicationVirtualization.Packaging.WithAppCorruptionCheck.Execute(Action execute, Action`1 logCorruption)
at Microsoft.ApplicationVirtualization.Packaging.WithAppCorruptionCheck.Execute(Action execute)
at Microsoft.ApplicationVirtualization.Packaging.PackagingEngine.<>c__DisplayClass16.<FinalizePackage>b__f()
at Microsoft.ApplicationVirtualization.Packaging.ExceptionGuard1.Guard(Action logStart, Action execute, Action logEnd, Action1 exceptionAction)
Flattener.exe : ERROR : Abandoning build due to fatal error
ST: at Microsoft.Tools.Office.C2R.Packager.Log.Message(String message, SEV type, String messageID, Boolean logToConsole, Boolean logPrefix)
at Microsoft.Tools.Office.C2R.Packager.Log.Message(String message, SEV type)
at Microsoft.Tools.Office.C2R.Packager.PackageAsFile.CreatePackage(String ingredientsXmlFileIn, String destinationPackageFilePath, Int32 countOfFilesToAdd, String manifestFileIn, String manifestLocFileIn, String streamMapIn, String productName, String packageGUID, String packagePlatform, String packageVersion, String appID, String manifestFileOut, String registryHiveFileOut, String installPath, JobType jobType, String workingDir, CompressionOption compressionOption, VFontsType vfontsType, ArrayList comEPClassToInclude, ArrayList comEPInterfaceToInclude, ArrayList comEPTypeLibToInclude, HashSet`1 usedKnownFolderIDs, Boolean isLaunchedByFlattener)
at Microsoft.Tools.Office.C2R.Packager.Package.PackageFromOptions(Options options, Boolean closeLogFile, String binaryIdPackageMap)
Flattener.exe : ERROR : ERROR: Abandoning build due to fatal error : at Microsoft.Tools.Office.C2R.Packager.Log.Message(String message, SEV type, String messageID, Boolean logToConsole, Boolean logPrefix)
at Microsoft.Tools.Office.C2R.Packager.Log.Message(String message, SEV type)
at Microsoft.Tools.Office.C2R.Packager.Package.PackageFromOptions(Options options, Boolean closeLogFile, String binaryIdPackageMap)
at Flattener.Flattener.CreateAppVPackageFromOptions(String packagerArguments)
at Flattener.Flattener.CreateAppVPackage()
at Flattener.Flattener.Run(String[] args)
Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
thanks for your reply. i will post the thread in the appv forum.
Hi Asasfadsfaf,
Have you followed this article to check the outcome?
https://support.microsoft.com/en-us/kb/2915745
Meanwhile, about the App-V issues, there is a dedicated TechNetforum. And we recommend you post there for advanced help. The engineers there are experts in dealing with the related issues.https://social.technet.microsoft.com/Forums/en-US/home?category=officeitpro&forum=sharepointdevelopment%2Cmdt&filter=alltypes&sort=relevancedesc&searchTerm=%20App-V%20package%20in%20SCCM%202012%20in%20Office%20365
Thanks for your understanding.
Kerwin