Hello,
I've got some windows mobile 5 handhelds that I'm running in kiosk mode. One of the applications that can be run from the kiosk has the ability to access Internet Explorer. I want to be able to disable internet explorer so even when the user tries to access this feature, IE will not pop-up.
From what I've seen while searching on google, there is no direct way to remove PIE or even disable it. I've searched ways to black list programs and found this link here: http://www.satter.org/2007/03/lets_shell_some.html. This seems like it would work. It's a registry fix but I can't seem to get the .CPF file to update the configuration on the handheld. The error I get is 'your device settings cannot be changed by Test.cpf'. I assume I need to sign the .CPF file but I am unsure how to do this exactly...
Any thoughts if this will work or other methods???
Thanks!
Zac
Ok so after looking into this further I learned the certificates in the WM5 and 6 SDK folders are outdated. I downloaded newer certificates and installled the updated certs.sdk to the handheld but the cpf file still will not work. The error now is: 'The program or setting could not be installed because it is not digitally signed with a trusted certificate.' The updated certs I got are all trusted (I think). The cert I am using is SDKSamplePrivDeveloper.pfx.
Nevermind, got it to work. I didn't need to do any signing at all, just needed to remove some not needed XML in my _setup.xml file.
For what it's worth, here's the XML to blacklist an application (in this case PIE):
Code:
<?xml version="1.0" encoding="utf-8" ?>
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Security\Policies\Shell">
<parm name="DisallowRun" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun">
<parm name="1" value="iexplore.exe" datatype="string" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Well done, solved your problem yourself, and in the mean time a new guide generated for people who wanted to do this.
Thansk
madnish30.
hi,
thanks for this tweak very interesting but i'm on WM 6.5.5 Titanium Energy Rom and there is no _setup.xml, can not find it so can not do this tweak or i missed something , could you help, be more explicit...
Second question, is there a possibility to know exactly witch applications, process are launch when windows start?
Thanks
V.
MakeCab Tutorial
voyd said:
hi,
thanks for this tweak very interesting but i'm on WM 6.5.5 Titanium Energy Rom and there is no _setup.xml, can not find it so can not do this tweak or i missed something , could you help, be more explicit...
Second question, is there a possibility to know exactly witch applications, process are launch when windows start?
Thanks
V.
Click to expand...
Click to collapse
Hello,
You create an XML file on your PC called _setup.xml and use makecab.exe that comes with the WM5/6 SDK from the command line to create a CAB file.
But, to make life simpler, I've attached this zip file which has makecab.exe, my _setup.xml, and also a task manager program you can run on WM that I've downloaded (it has a registry editor built into it too, which is convenient ).
To use:
1) Make any changes you need to _setup.xml
2) Run makecab.exe from the command line with this syntax: "makecab _setup.xml <'filename'.cab>"
3) Install this on the handheld, reboot device, run the program you've blacklisted and enjoy the access denied pop up!
Blacklist _setup.xml:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Security\Policies\Shell">
<parm name="DisallowRun" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun">
<parm name="1" value="iexplore.exe" datatype="string" /> <!-- change 'value' to whatever program you want blacklisted -->
<!-- <parm name="2" value="ANOTHER_PROGRAM.exe" datatype="string" /> -->
<!-- <parm name="3" value="YET_ANOTHER_PROGRAM.exe" datatype="string" /> -->
</characteristic>
</characteristic>
</wap-provisioningdoc>
Disable Backlist _setup.xml:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<wap-provisioningdoc>
<characteristic type="Registry">
<!-- Disable DisallowRun -->
<characteristic type="HKLM\Security\Policies\Shell">
<parm name="DisallowRun" value="0" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
To answer your second question, most startup programs will be listed under the /Windows/StartUp folder.
Hope this helps!
madnish30 said:
Well done, solved your problem yourself, and in the mean time a new guide generated for people who wanted to do this.
Thansk
madnish30.
Click to expand...
Click to collapse
Thank you! Glad to help out!
another alternative
Hello people,
Here's another alternative which does not involve making cab files / fiddling with the registry (not all devices support this, since they are ROM_hardcoded);
WM5/6 command DONOTHiNG.EXE copy to device make shortcut link to Program Files
http://www.stephan-brenner.com/?p=190
Rename iexplore.exe to *.bak
Copy donothing.exe to \Windows\
Rename donothing.exe to iexplore.exe
done
Of course there are 101 other wonderfull 'solutions' to think of using donothing.exe
ThanX a ton for these wonder full wapprovisioning xml
FYC:
WinCE CAB Analyzer (MSCEInf): .CAB extraction
ExtenDir CABS .CAB creation (PgDn a bit) (optionally ExtenDir should be switched off if you're not using it!! )
Converting packages or your favorite tweaks to a setup cab was never so easy!
o/~
Senax said:
Hello people,
Here's another alternative which does not involve making cab files / fiddling with the registry (not all devices support this, since they are ROM_hardcoded);
WM5/6 command DONOTHiNG.EXE copy to device make shortcut link to Program Files
http://www.stephan-brenner.com/?p=190
Rename iexplore.exe to *.bak
Copy donothing.exe to \Windows\
Rename donothing.exe to iexplore.exe
done
Of course there are 101 other wonderfull 'solutions' to think of using donothing.exe
Click to expand...
Click to collapse
This method does work, the only concern I had with this was what if an administrator needs to get have access to that program that is overwritten? In my case if I overwrote iexpore.exe then I'd have no way of accessing the internet or downloading any vital programs (unless they were already installed before hand). My device had no way to USB connect and bluetooth file transferring was becoming a pain to get to work so that's why I used the CAB method downloading them first through PIE from a virtual directory then disabling PIE.
But hey, if you're sure you won't need PIE or any other program you want disable this method works great!
Thanks!
Or Batch iT
Why not make a batch file? Use a standard ASCII editor like Notepad.exe and copy + paste the following code (assuming running from C drive). Make sure Word-Wrap = OFF (always while editing (source))!
Code:
@ECHO OFF
@REM renaming of blacklisted application(s) back to original so one can operate executables as expected
C:
CD\
CD Windows\System32\
@REM Remember the short 8.3 filename (stick to that within batch files).
REN YourExecutable.exe donothin.exe
@REM Assuming you renamed original *.exe to *.e_e
REN YourExecutable.e_e Depends.exe
@REM Need to switch drives/partition? Just type its letter D: [ENTER] CD\ [so windows its current PATH is the root of the current drive].
:END
EXiT
Online DOS_Batch handbook
Senax said:
Why not make a batch file? Use a standard ASCII editor like Notepad.exe and copy + paste the following code (assuming running from C drive). Make sure Word-Wrap = OFF (always while editing (source))!
Code:
@ECHO OFF
@REM renaming of blacklisted application(s) back to original so one can operate executables as expected
C:
CD\
CD Windows\System32\
@REM Remember the short 8.3 filename (stick to that within batch files).
REN YourExecutable.exe donothin.exe
@REM Assuming you renamed original *.exe to *.e_e
REN YourExecutable.e_e Depends.exe
@REM Need to switch drives/partition? Just type its letter D: [ENTER] CD\ [so windows its current PATH is the root of the current drive].
:END
EXiT
Online DOS_Batch handbook
Click to expand...
Click to collapse
Nice! Very simple to use!
Hi,
Is there any way to add/update a configuration xml file to an app already installed on an Android 4.0+ device?
The purpose of this would be to eliminate the setup process for technologically impaired users.
Case in point: an application through which the user can send data over wifi/3g to an IIS server, the user will have to configure the server address/location, username and password (which is generally void if it's not requested otherwise), the location of the actual data file that must be synced.
All i want to do is eliminate the part where the user has to set-up anything else but his username.
The configuration file is located in </Data/Data/application.name/files> and it's called application.config.xml
Could it be added in an apk which will act as an update?
The devices will not be rooted and the config.xml file will be different (different servers), depending on the users' location so it can't be hardcoded in the sync application.
This is the actual content of the .xml file once the settings have been made, the sync app generates a blank config.xml file during the installation.
Code:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="ClientLocation" value="/storage/emulated/0/clientapp_00" />
<add key="Username" value="User Name" />
<add key="Password" value="d41d8cd98f00b204e9800998ecf8427e" />
<add key="ServerLocation" value="Http://192.168.0.101:55541/server/sync.aspx" />
<add key="Compression" value="True" />
<add key="ServerConnections" value="Sync Serv,Http://192.168.0.101:55541/server/sync.aspx" />
<add key="Language" value="en" />
<add key="SyncApk" value="Sync.apk" />
<add key="SyncPackage" value="Data.Sync" />
</appSettings>
</configuration>
Thanks in advance!
*I've also posted in the Q/A forum, but nobody replied.
One app cannot access the data of another app (without root). So you cannot create something like an update apk for another app.
You need to be the owner of the app and put that into the code. Then your users will have to update and in your code you can save the new file.
Please visit https://wp8fileexplorer.codeplex.com/ for source code
I've posted the source code on Codeplex and the project will be continued by @rudironsoni and me.
New in 0.0.7 alpha:
Use LongListMultiSelector to select multi files.
---------20131027---------
Today I've made another alpha release (0.0.5).
New:
1.display the path on the top of the list
2.copy/cut and paste between internal storage / sd card
3.allow user to select the root path (will stay default after restart the app, currently I do not have time to save it)
What will be in the following updates:
1.a better UI (maybe I will redesign it when I have more time..)
2.a GUI registry editor
3.call samsung driver to move system files (edit small files in C:\Windows on device like HOSTS)
4.more...still thinking about that.
---------20131025---------
Yesterday I added some permissions to an app and succeeded to create,delete files on SD card and C:\data\user\public using both NativeAccess library by @GoodDayToDie and StorageFile in windows runtime.
these may be useful because at least we can manage files that we can see on PC very conveniently and we can open .docx files and etc. directly from SD card. I will post the file browser here several days later
another idea is the ServiceAgent. I know that this part is only for OEM but since we've already Interop Unlocked so I think it might be possible to develop a background Web Server (FTP,HTTP,etc.) so that every application can access them even they are downloaded from store.
and we can run that in the background after the device boot up and can keep running until the device shutdown or NotifyComplete() is called.
I take a look at the HTC app(clock) and find that it is using ServiceAgent to run in background to update the tile in a short period.
Also, some permissions are really interesting related to Package manager, using which we can install xap in some way..
the only problem is API documents.. I know it works but I don't know how to implement them.
maybe I can only make a common file manager..
Here comes my XAP...(English) currently it only supports browsing , opening and removing files in public internal folder (which you see in MTP) and SD card.
Double tap to open,you can also use multiselect (single tap)
it might be full of bug..
You can actually do long-running processes without an official "agent" at all - just CreateProcess an executable in your app, and don't kill it; the OS won't even when your app exits - but the rest of your ideas are good and it's possible that a ServiceAgent has some useful features as well. Just checking: you had to use the official APIs for the SD card, right? You couldn't actually read the card directly.
GoodDayToDie said:
You can actually do long-running processes without an official "agent" at all - just CreateProcess an executable in your app, and don't kill it; the OS won't even when your app exits - but the rest of your ideas are good and it's possible that a ServiceAgent has some useful features as well. Just checking: you had to use the official APIs for the SD card, right? You couldn't actually read the card directly.
Click to expand...
Click to collapse
As I have allready added a full-working sd card filebrowser for pdf-files (copy, move, delete, open, create folder) to my PDF to Office app I have to say that actually it´s not possible to make visible filytypes like ".doc" or ".docx" because they are reserved for built-in apps.
I tried to register those file-extensions in the manifest-file without result....
Edit: Correct me if I´m wrong.
It *may* be possible for homebrew to register those file types, but that's still not actually a proper filebrowser. If it were, you could read the file system directly... and you can't.
GoodDayToDie said:
You can actually do long-running processes without an official "agent" at all - just CreateProcess an executable in your app, and don't kill it; the OS won't even when your app exits - but the rest of your ideas are good and it's possible that a ServiceAgent has some useful features as well. Just checking: you had to use the official APIs for the SD card, right? You couldn't actually read the card directly.
Click to expand...
Click to collapse
actually I even didn't add the SD card capability. I used your native access with some interesting caps and I will post it here.
it actually works..
Forgive my Chinese and Japanese but you can see that it is wma.
hjc4869 said:
Forgive my Chinese and Japanese but you can see that it is wma.
Click to expand...
Click to collapse
I see.
When can you post the source here ?
contable said:
I see.
When can you post the source here ?
Click to expand...
Click to collapse
Actually source is not so important but here I will list the capabilities that i used. xap will be here in an hour.
after adding these capabilities, you can use NativeAccess library to operate files on C:\Data\User\Public and D:\
I only confirmed that i can delete any thing. Currently my GUI only support opening a file(with winrt storagefile api) and deleting file.
notice that many of these capabilities are useless, I didn't have time to check out what they are for. but I guess ID_CAP_PUBLIC_FOLDER_FULL and ID_CAP_STORAGE_MANAGEMENT make you see what located in C:\Data\User\Public and D:\
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_MEDIALIB_AUDIO" />
<Capability Name="ID_CAP_MEDIALIB_PLAYBACK" />
<Capability Name="ID_CAP_SENSORS" />
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
<Capability Name="ID_CAP_ENTERPRISE_AUTHENTICATION"/>
<Capability Name="ID_CAP_ENTERPRISE_ENROLLMENT"/>
<Capability Name="ID_CAP_ENTERPRISE_SERVICE"/>
<Capability Name="ID_CAP_BUILTIN_SYMBOLICLINK" />
<Capability Name="ID_CAP_USB" />
<Capability Name="ID_CAP_APPRESOLVER"/>
<Capability Name="ID_CAP_APPPREINSTALL_DIRECTORY"/>
<Capability Name="ID_CAP_EMPLOYEEAPPS_ADMIN"/>
<Capability Name="ID_CAP_STORAGE_MANAGEMENT" />
<Capability Name="ID_CAP_PUBLIC_FOLDER_FULL" />
<Capability Name="ID_CAP_PM_INSTALL" />
<Capability Name="ID_CAP_PM_BSS" />
<Capability Name="ID_CAP_PM_1ST_PARTY" />
<Capability Name="ID_CAP_OEMPUBLICDIRECTORY" />
<Capability Name="ID_CAP_MICROPHONE" />
<Capability Name="ID_CAP_PHONEDIALER" />
<Capability Name="ID_CAP_MULTIMEDIA_ENCODER_HARDWARE" />
<Capability Name="ID_CAP_MEDIALIB" />
<Capability Name="ID_CAP_MEDIALIB_VIDEO" />
<Capability Name="ID_CAP_OEM_ADC"/>
<Capability Name="ID_CAP_INTEROPSERVICES"/>
<Capability Name="ID_CAP_MEDIALIB_PHOTO_FULL" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT_ADMIN" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT_BOOTSTRAP" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT_SECURITY_POLICIES" />
<Capability Name="ID_CAP_PUSH_NOTIFICATION"/>
<Capability Name="ID_CAP_PROXIMITY"/>
<Capability Name="ID_CAP_CELL_WNF"/>
<Capability Name="ID_CAP_CELL_API_OEM_PASSTHROUGH"/>
<Capability Name="ID_CAP_CELL_API_COMMON"/>
<Capability Name="ID_CAP_CELL_API_UICC_LOWLEVEL"/>
<Capability Name="ID_CAP_CELL_API_LOCATION"/>
<Capability Name="ID_CAP_DEBUG" />
<Capability Name="ID_CAP_DEBUG_FOLDERS" />
<Capability Name="ID_CAP_BUILTIN_CREATEPERMANENT" />
<Capability Name="ID_CAP_BUILTIN_DEFAULT" />
<Capability Name="ID_CAP_BUILTIN_PROFILE" />
<Capability Name="ID_CAP_BUILTIN_BASEPRIORITY" />
<Capability Name="ID_CAP_BUILTIN_CREATEGLOBAL" />
<Capability Name="ID_CAP_BUILTIN_SHUTDOWN" />
<Capability Name="ID_CAP_BACKGROUND_WORKER" />
<Capability Name="ID_CAP_WPTOOLS_INSTALL_FOLDER" />
<Capability Name="ID_CAP_BUILTIN_TCB" />
hjc4869 said:
Actually source is not so important but here I will list the capabilities that i used. xap will be here in an hour.
after adding these capabilities, you can use NativeAccess library to operate files on C:\Data\User\Public and D:\
I only confirmed that i can delete any thing. Currently my GUI only support opening a file(with winrt storagefile api) and deleting file.
notice that many of these capabilities are useless, I didn't have time to check out what they are for. but I guess ID_CAP_PUBLIC_FOLDER_FULL and ID_CAP_STORAGE_MANAGEMENT make you see what located in C:\Data\User\Public and D:\
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_MEDIALIB_AUDIO" />
<Capability Name="ID_CAP_MEDIALIB_PLAYBACK" />
<Capability Name="ID_CAP_SENSORS" />
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
<Capability Name="ID_CAP_ENTERPRISE_AUTHENTICATION"/>
<Capability Name="ID_CAP_ENTERPRISE_ENROLLMENT"/>
<Capability Name="ID_CAP_ENTERPRISE_SERVICE"/>
<Capability Name="ID_CAP_BUILTIN_SYMBOLICLINK" />
<Capability Name="ID_CAP_USB" />
<Capability Name="ID_CAP_APPRESOLVER"/>
<Capability Name="ID_CAP_APPPREINSTALL_DIRECTORY"/>
<Capability Name="ID_CAP_EMPLOYEEAPPS_ADMIN"/>
<Capability Name="ID_CAP_STORAGE_MANAGEMENT" />
<Capability Name="ID_CAP_PUBLIC_FOLDER_FULL" />
<Capability Name="ID_CAP_PM_INSTALL" />
<Capability Name="ID_CAP_PM_BSS" />
<Capability Name="ID_CAP_PM_1ST_PARTY" />
<Capability Name="ID_CAP_OEMPUBLICDIRECTORY" />
<Capability Name="ID_CAP_MICROPHONE" />
<Capability Name="ID_CAP_PHONEDIALER" />
<Capability Name="ID_CAP_MULTIMEDIA_ENCODER_HARDWARE" />
<Capability Name="ID_CAP_MEDIALIB" />
<Capability Name="ID_CAP_MEDIALIB_VIDEO" />
<Capability Name="ID_CAP_OEM_ADC"/>
<Capability Name="ID_CAP_INTEROPSERVICES"/>
<Capability Name="ID_CAP_MEDIALIB_PHOTO_FULL" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT_ADMIN" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT_BOOTSTRAP" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT_SECURITY_POLICIES" />
<Capability Name="ID_CAP_PUSH_NOTIFICATION"/>
<Capability Name="ID_CAP_PROXIMITY"/>
<Capability Name="ID_CAP_CELL_WNF"/>
<Capability Name="ID_CAP_CELL_API_OEM_PASSTHROUGH"/>
<Capability Name="ID_CAP_CELL_API_COMMON"/>
<Capability Name="ID_CAP_CELL_API_UICC_LOWLEVEL"/>
<Capability Name="ID_CAP_CELL_API_LOCATION"/>
<Capability Name="ID_CAP_DEBUG" />
<Capability Name="ID_CAP_DEBUG_FOLDERS" />
<Capability Name="ID_CAP_BUILTIN_CREATEPERMANENT" />
<Capability Name="ID_CAP_BUILTIN_DEFAULT" />
<Capability Name="ID_CAP_BUILTIN_PROFILE" />
<Capability Name="ID_CAP_BUILTIN_BASEPRIORITY" />
<Capability Name="ID_CAP_BUILTIN_CREATEGLOBAL" />
<Capability Name="ID_CAP_BUILTIN_SHUTDOWN" />
<Capability Name="ID_CAP_BACKGROUND_WORKER" />
<Capability Name="ID_CAP_WPTOOLS_INSTALL_FOLDER" />
<Capability Name="ID_CAP_BUILTIN_TCB" />
Click to expand...
Click to collapse
I would say it must be ID_CAP_PUBLIC_FOLDER_FULL.
As I have all file-operations enabled (it´s a workaround) I will test it and reply.
Can you post the code for deleting a file on the sd card ?
Thanks for the info.:good:
contable said:
I would say it must be ID_CAP_PUBLIC_FOLDER_FULL.
As I have all file-operations enabled (it´s a workaround) I will test it and reply.
Can you post the code for deleting a file on the sd card ?
Thanks for the info.:good:
Click to expand...
Click to collapse
Here it is part of my source code. NativeFileSystem is from NativeAccess.
"dir" can be D:\xxx .
var nativeFileSystem = new NativeFileSystem();
void DeleteDirectory(string dir)
{
if (!dir.EndsWith("\\")) dir += '\\';
var files = nativeFileSystem.GetFiles(dir + '*', true);
if (files == null || files.Length == 2)
{
NativeFileSystem.DeleteDirectory(dir.Remove(dir.Length - 1));
return;
}
foreach (var file in files)
{
if (file.Name == "." || file.Name == "..") ;//ignore
else if (file.Attributes.HasFlag(FileAttributes.Directory)) DeleteDirectory(dir + file.Name);
else
{
nativeFileSystem.DeleteFile(dir + file.Name);
}
}
NativeFileSystem.DeleteDirectory(dir.Remove(dir.Length - 1));
}
See, I *swear* I was going to get around to enumerating the mounted drives at some point. Really, I promise I was! But there's always so much to do... this is fantastic work, hjc, thank you for sharing your research with us! Accessing the D: drive directly is much more straightforward that going through that silly official API. In any case, have a bunch of Thanks!
Either, or both, of those capabilities could grant access to the SD card; I really don't know. By the way, my webserver is perfectly capable of handling drive letters. You may need to add the relevant CAP, but it's interesting to see that you can get error 5 (ACCESS DENIED, and I really need to fix the error reporting for user-friendliness) on C:\ (or just \) and (without the required caps) on D:\, but E:\ gives error 3 (PATH NOT FOUND).
GoodDayToDie said:
See, I *swear* I was going to get around to enumerating the mounted drives at some point. Really, I promise I was! But there's always so much to do... this is fantastic work, hjc, thank you for sharing your research with us! Accessing the D: drive directly is much more straightforward that going through that silly official API. In any case, have a bunch of Thanks!
Either, or both, of those capabilities could grant access to the SD card; I really don't know. By the way, my webserver is perfectly capable of handling drive letters. You may need to add the relevant CAP, but it's interesting to see that you can get error 5 (ACCESS DENIED, and I really need to fix the error reporting for user-friendliness) on C:\ (or just \) and (without the required caps) on D:\, but E:\ gives error 3 (PATH NOT FOUND).
Click to expand...
Click to collapse
Indeed it´s great !
Please give me a hint how to add these capatilities.
If I add them to my manifestfile I get an error.
What am I missing ?
contable said:
Indeed it´s great !
Please give me a hint how to add these capatilities.
If I add them to my manifestfile I get an error.
What am I missing ?
Click to expand...
Click to collapse
just patch the SDK!!
When you see an error, switch to "Output" in Visual studio.
it tells you that a .target file(actually xml) file "thinks" the manifest goes wrong.
then ,you can comment the line that reports the error message (request starting visual studio with administrator).
hjc4869 said:
just patch the SDK!!
When you see an error, switch to "Output" in Visual studio.
it tells you that a .target file(actually xml) file "thinks" the manifest goes wrong.
then ,you can comment the line that reports the error message (request starting visual studio with administrator).
Click to expand...
Click to collapse
Ok, running VS 2012 as admin now...
---------- Post added at 01:00 PM ---------- Previous post was at 12:25 PM ----------
Ok,
patched VS 2012 succussfully, XAP is running again...
Thx again for your help !:good::good::good:
---------- Post added at 01:07 PM ---------- Previous post was at 01:00 PM ----------
If I try to deploy your xap I get an error:
Correct the capatility values in "WMAppManifest.xml"
Any help ?
Ah nice, I was just adding them to the XAP after building. I tried editing the XSD, but while that added the types to the auto-complete, it didn't actually let them pass validation. Very annoying. There's probably another file I'd need to tweak for that.
Ok, I got it....
---------- Post added at 01:24 PM ---------- Previous post was at 01:11 PM ----------
This is a great progress ! Really like it.:good:
Many thanks for your research...
---------- Post added at 01:32 PM ---------- Previous post was at 01:24 PM ----------
As the internal folders are visible now we are able to copy and move files from there and to there... Great !!!
contable said:
Ok, I got it....
---------- Post added at 01:24 PM ---------- Previous post was at 01:11 PM ----------
This is a great progress ! Really like it.:good:
Many thanks for your research...
---------- Post added at 01:32 PM ---------- Previous post was at 01:24 PM ----------
As the internal folders are visible now we are able to copy and move files from there and to there... Great !!!
Click to expand...
Click to collapse
hope more homebrew will come out..
btw , there seems to be the capability of installing xaps ,but I don't know how to call the package manager.
is pac-man service in wp8 similar with that in wp7?
possibly we can complete that without root access, just add the permission to the app
I believe you're right. We should try to find the function prototypes for the pacman functions. The fact that the capabilities to use them are available to use should be put to good use.
This is what I did for WPH Tweaks to disable the manifest validation. Add this snippet at the end of your .csproj before the closing tag:
Code:
<Target Name="ValidateWMAppManifest">
<!-- Do nothing -->
</Target>
jessenic said:
This is what I did for WPH Tweaks to disable the manifest validation. Add this snippet at the end of your .csproj before the closing tag:
Code:
<Target Name="ValidateWMAppManifest">
<!-- Do nothing -->
</Target>
Click to expand...
Click to collapse
That's cool! Thanks!