I am trying to create a test AppX from DesktopAppConverter.exe by using a simple batch file as an installer. This is what the batch file does:
ECHO OFF
mkdir c:\target
copy c:\source\testfile.txt c:\target
copy c:\source\app.vhd c:\target
copy c:\windows\system32\kernel32.dll c:\target
copy c:\windows\system32\calc.exe c:\target
EXIT 0
Once the package is created, the "target" directory inside the VFS directory contains the "kernel32.dll" and "calc.exe" files but does not have the app.vhd or the testfile.txt.
Can someone help me with a way of getting these files in the package?
The DesktopAppConverter.exe commandline looks like below:
DesktopAppConverter.exe -Installer C:\source\dummyappxinstaller.bat ->Destination C:\appx\ -PackageName "DummyAppx" -Publisher "CN=AppVolumes" ->Version 0.0.0.1 -MakeAppx -Verbose -AppExecutable c:\target\calc.exe`
The creation process succeeds with the warning W_INSTALL_PATH_NOT_DISCOVERED
.