The source code was just too embarrassing to share - too many kludge fixes on kludge fixes. I have now released a complete suite of all the apps, including a new appstore written from the ground up to be a lot more sensible - and shared the source for the main apps here: http://forum.xda-developers.com/show...php?p=36854150
Major Update
Version 1.0 Beta is here.
Whats new:
Major rework.
Much less web traffic while browsing.
New repo format in use.
Support for multiple repos.
AIP format in use - allowing for much more detail.
Apps now fully install.
UI changes.
1.0 Beta is functionally complete as far as I can tell, but needs some major code cleaning as remnants of the old version still linger, and the UI could probably do with some polish now. However, this version is the future of the RTDstore - so much more flexibility.
Please note the new 'repolist.txt' file - currently this text file is the only way to manage repos - add one url per line.
now ANYONE can host a repo. All you need is some webspace of some format. No dynamic code is needed, so most free web hosting, including dropbox public folder (if your account is old enough to have the public folder), will work.
Instructions:
* Place the AIP files all in one folder (for example c:\repo)
* open a cmd prompt to where ever you extract the repobuild exe.
* type:
REPOBUILD [FOLDERNAME]
eg
REPOBUILD C:\REPO
this will create all the xml files that the store expects. now copy the contents of this folder (xml files and aip files) to some web hosting. If using dropbox public, you can run the repobuild directly on the folder (you can have a sub folder in public btw)
(if using dropbox public, to get your repo url, right click on a file, copy public link - paste it somewhere and then remove the filename from the end of the url)
whenever you update or add an AIP, you will need to repeat this process (in theory, you can just copy the new AIP and corresponding XML - plus the _reporoot.xml )
Automatically requests UAC if needed
Some basic caching of web results
New icon
UI Fixes
'Installed' list now will run an app if a run.bat was supplied.
CREATING A PACKAGE
see: http://forum.xda-developers.com/show....php?t=2098993 for instruction on creating AIP files.
if you want your AIP on my repo, send me a link either here on private - details coming soon on setting up your own repo.
Thanks to GoodDayToDie and Netham for spurring me on, thanks to clokr for making it all possible.
System.Net.WebException: Une exception s'est produite lors d'une requête WebClient. ---> System.UnauthorizedAccessException: L'accès au chemin d'accès 'C:\Program Files\putty.zip' est refusé.
à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
à System.Net.WebClient.DownloadFile(Uri address, String fileName)
--- Fin de la trace de la pile d'exception interne ---
à System.Net.WebClient.DownloadFile(Uri address, String fileName)
à System.Net.WebClient.DownloadFile(String address, String fileName)
à RTDStore.Form1.DownloadFile(String remoteFilename, String localFilename)
à RTDStore.Form1.label4_Click(Object sender, EventArgs e)
à System.Windows.Forms.Control.OnClick(EventArgs e)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.Label.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
Access denied due to security settings. Either change the permissions on the Program Files folder or put the RTDStore app in a different folder.
For the author: downloading into the app's working directory is, and always has been, a terrible idea. That's why Application Data and Downloads and Temp folders exist...
Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.
************** Texte de l'exception **************
System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'Ionic.Zip.Reduced, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c' ou une de ses dépendances. Le fichier spécifié est introuvable.
Nom de fichier*: 'Ionic.Zip.Reduced, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c'
à RTDStore.Form1.Install(String fn)
à RTDStore.Form1.<label4_Click>d__0.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)
AVT*: la journalisation de liaison d'assembly est désactivée.
Pour activer la journalisation des échecs de liaison d'assembly, attribuez la valeur 1 à la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD).
Remarque*: une certaine perte de performance est associée à l'enregistrement dans le journal des échecs de liaison d'assembly.
Pour désactiver cette fonctionnalité, supprimez la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog].
************** Assemblys chargés **************
mscorlib
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase*: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
RTDStore
Version de l'assembly*: 1.0.0.0
Version Win32*: 1.0.0.0
CodeBase*: file:///C:/Program%20Files/RTDStore/RTDStore.exe
----------------------------------------
System.Windows.Forms
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18022 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.17929 built by: FX45RTMREL
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
mscorlib.resources
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18010 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Core
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.17929 built by: FX45RTMREL
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.17929 built by: FX45RTMREL
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18010 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.
Par exemple*:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.
Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.
************** Texte de l'exception **************
System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'Ionic.Zip.Reduced, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c' ou une de ses dépendances. Le fichier spécifié est introuvable.
Nom de fichier*: 'Ionic.Zip.Reduced, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c'
à RTDStore.Form1.Install(String fn)
à RTDStore.Form1.<label4_Click>d__0.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)
AVT*: la journalisation de liaison d'assembly est désactivée.
Pour activer la journalisation des échecs de liaison d'assembly, attribuez la valeur 1 à la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD).
Remarque*: une certaine perte de performance est associée à l'enregistrement dans le journal des échecs de liaison d'assembly.
Pour désactiver cette fonctionnalité, supprimez la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog].
************** Assemblys chargés **************
mscorlib
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase*: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
RTDStore
Version de l'assembly*: 1.0.0.0
Version Win32*: 1.0.0.0
CodeBase*: file:///C:/Program%20Files/RTDStore/RTDStore.exe
----------------------------------------
System.Windows.Forms
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18022 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.17929 built by: FX45RTMREL
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
mscorlib.resources
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18010 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Core
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.17929 built by: FX45RTMREL
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.17929 built by: FX45RTMREL
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly*: 4.0.0.0
Version Win32*: 4.0.30319.18010 built by: FX45RTMGDR
CodeBase*: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.
Par exemple*:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?