* replace bmps with smaller jpgs and check-in updated wixproj which was missed with the x64 split work
* reverse order of configuration/platform to be the standard ordering
* Create long file path before passing to mkdirp
* Updated other calls to mkdirp
* Updated mkdirp method to handle both long path and without long path strings
* Update WiX msi version to match file version
* add script to update version and change in .rc and project files to add version string based off git describe
* Revert "add script to update version and change in .rc and project files to add version string based off git describe"
This reverts commit d9aa8cb919.
* Add additional logging when win10 redirects, log version number of msixmgr and change msixmgr version for preview to 0.0.0.0
* expected changes for uninstall
* should write shareddll on install, but not on reinstall
* Shared DLL handling.
Also fixed issue with iterating maps matching on substrings of the VFS token instead of the full token. for example VFS\SystemX86\file.dll would match the "System" first instead of "SystemX86" token in full.
* FindPackage * should return all packages and not just first
* Remove FindAllPackages
* One method to search by fullName or familyName or *
* Revert changes to FindPackage and FindPackageByFamilyName
* Case insensitive match
* remove extra step to return no packages found
* Update readme
* Updated tests
* remove added package
* Find package by family name
* Update errors
* Code review comments
* Search by wildcards
* Search by wildcards in package Family Name
* Error handling when package is not found
* Addressed review comments
* Updated tests and code for no packages found
* Modified error condition
* Update readMe.md
* update readme
* Parse manifest
* Write reg keys
* launching alias from win+r works
* Still testing, does not work from cmd prompt
* Implement remove
* Updated notepad package with test extension
* Updated correct namespace for appexecution alias
* Add ability to unpack packages and apply ACLs to the resulting package folders to msixmgr.exe
* Add command to apply acls to already unpacked package. For Unpack command, add logging for invalid package path. Wrap hmodule in smart pointer. Gate ACL logic behind IsApplyACLs
* Reformated logging for invalid package path
* Bug fix for wrapping applyaclsdll module with unique_ptr
* Refactor: move unpack/acl logic out of msixmgr.cpp and into separate files/classes
* Remove classes from UnpackProvider and ApplyACLsProvider
* Bug Fix: ApplyACLs command could not accept package path parameter; Bug fix: use Text<WCHAR> instead of PWSTR
* Use the optional package's publisher, not its entire package family name, when no publisher specified for main package dependency
* Updated Api_AppxManifestReader_OptionalPackage test to reflect bug fix
* Removed logging from ApplyACLsProvider
* Test bug fix: missing command in expectedPublisherValues vector
* Test fix: wrong publisher specified in expectedPublisherValues
* Updated help text; Output info to user on failures
* Revert "Test fix: wrong publisher specified in expectedPublisherValues"
This reverts commit 8c4954c6c1.
* Checking back in test changes
* Checking back in msixmgr.vcxproj* files
* Output errors in hex; Output error message specific to missing cert
* Added msixmgr.exe dependency ApplyACLs.dll
* update msixtrace.ps1 to have both providers
* resource + stream api test
* fix merge and build
* Update packages so they're installable on Win10
Set ACL on temp file in win10 redirection to prevent local user write access to the temp file. (only admins can write to it)
Seek to beginning of stream in case passed-in stream is not already there.
* Change to relative path instead of my local path.
The primary change is the addition of a test that packs a file larger than 4GB. This is done by creating a stream that returns easily compressed data, resulting in an ~6MB package file. The test is tagged with a hidden [.slow] tag, as it takes ~5 minutes to churn through the data and then open the resulting package for verification.
The change also reorganizes the msix in directory into categories for current and future use. The categories (and directories) are:
public: headers that we "publish" for consumption by external callers
shared: headers used by the functional tests; no linking allowed
internal: headers used by future unit tests, were linking will happen
This allows the tests to reuse product functionality, rather than re-implementing things like ComPtr.
* Revert "in progress, tryng to figure out how to best handle different error modes"
This reverts commit e9ab631ba3.
* Enable configuration manager to build the WiX and custom action projects.
Fix warning of long binary name in WiX project
Update Readme.md to point to WiX project instead of vdproj MSI
* fix weird merge.
* in progress, tryng to figure out how to best handle different error modes
* Revert "in progress, tryng to figure out how to best handle different error modes"
This reverts commit e9ab631ba3.
* playing around with trying to get full ui (instead of basic ui) when double clicked from ARP
* Progress so far on getting the full UX to show up on uninstall through ARP.
* mostly working, may need to tweak UI locations/wordings
* Rename things and add comments
* remove bad indentation in product.wxs
* Implement IAppxManifestReader5
* Fix AppxManifestOptionalPackageInfo's GetMainPackageName API to return S_OK instead of fail when package is not optional package
* rename crypto.hpp to Crypto.hpp in include statement
* Added test Api_AppxManifestReader_OptionalPackage; Fix AppxManifestOptionalPackageInfo constructor to initialize m_factory
* Added new sample manifest containing main package dependencies
* Minor formatting change to new sample appxmanifest
* Test check in: confirm whether test failure is related to addition of new test manifest
* Test failure test #2: only include 1 mainpackagedependency
* Test failure test no. 3: only include main package dependency WITHOUT publisher
* Bug fix: manifest file cannot contain both main package dependencies and capabilities
* Test failure test no. 5: change uap3 to uap4
* Test failure test no. 6: just create stream on new file (no main package dependencies)
* Test failure test no. 7: just create stream on ORIGINAL manifest file
* test failure test no. 8: new manifest contains minimum elements
* Test failure test no. 8b: modify test to use new manifest file
* Test failure test no. 9: use main.cpp's actual appxmanifest
* New appxmanifest file has exact some content as original
* Go back to original test code and the new test manifest with main package dependencies
* Modify test to only run on Windows
* Bug fix: run test on non-IOS
* Test fix: publisher attribute in manifest file was invalid
* Removed ifndef statement
* Update project.pbxproj
Add new file to IOSBVT project
Starting in cmake 3.15, the tar command will error if given no files to work on. This change will work across all version by cutting off that scenario and instead generating a 1 byte resource array. The code is then updated to recognize that scenario and short circuit to returning a file not found for any resources requested.
* Working on generateprogid
* Added method to generate prog id
* Placeholder changes
* GenerateProgId now works
* Generate handler name
* Write keys for autoPlayContent
* Method signature changes
* Get packagedirectory path
* Parse Desktop Appx content and device elements
* Write registry keys
* Changes while running code
* Tested changes and changes to certain keys
* Addressed certain PR comments
* Implement executeForRemoveRequest
* Replace macros with definition
* Remove usage of widestring.cpp
* return hresult from ntstatus
* Add AutoPlay to remove handlers
* Updated test package with autoPlayHandler extension
* Removed usage of byte buffer
* Corrected indentation
* Spaces and remove copyright line
* Removed comment
* Started implementation of IAppxManifestReader4
* Marshall out mainPackageName in impl of GetMainPackageName
* Implement GetOptionalPackageInfo
* Implement IAppxManifestOptionalPackageInfoUtf8
* Exit early from visitorMainPackageDependencies
* Ensure accurate conversion in GetIsOptionalPackage
* Removed blank line:
* Added comment in AppxManifestOptionalPackageInfo
* Bug fix for ChainInterfaces
* Edit to fix in ComHelper
* Implement CreateBundleManifestReader
* No cast needed when making AppxBundleManifestObject
* Fixed CMakeLists.txt
* Don't cast to IMsixFactory if not needed
This change redoes directory creation (especially on Windows) to better handle absolute paths. It should only affect unpack, as pack doesn't use these functions to open the files.
A new test is added that passes in the absolute paths to the target locations.