Notices

ActiveSync Why has it taken so long for this category?

Reply
 
LinkBack Thread Tools
Old 12-27-06, 05:07 AM   #1 (permalink)
Aximsite Prospect
 
Join Date: Mar 2006
Location: Spb, Russia
Posts: 19
Device: SE k750i
Carrier: North-West GSM
Thanked 0 Times in 0 Posts
Icon3 Howto: install .cab files from PC :)

Maybe it's not new..
Idea is very simple - create appropriate .ini file and call ceappmgr.exe
(unfortunately, the idea is not mine)
How to use this:
Copy text to .bat or .cmd file (or simply download it), run and enjoy :D
Now .cab file can be installed by right-click and selecting "Install to PPC":

Feedback is welcome

for windows XP
http://ftp.support.softspb.com/~ildar/xp_install.cmd
Code:
rem PPC cab's installer from PC!
rem idea and first edition by djet
rem optimization and vista edition by thevery (ildar@softspb.com)
rem for windows XP
@echo off
set INSTALL_SCRIPT=Cab2PPC_Installer.cmd
set spacer=" "
set ASYNC_install_dir=%programfiles%\Microsoft ActiveSync

REG ADD HKCR\Cab2PPC\shell\CabInstaller /ve /d "Install to PPC" /f
REG ADD HKCR\Cab2PPC\shell\CabInstaller\command /ve /d \""%ASYNC_install_dir%\%INSTALL_SCRIPT%"\"%spacer%\"%%1\" /f
REG ADD HKCR\.cab /ve /d Cab2PPC /f

echo @echo off >%temp%\%INSTALL_SCRIPT%
echo echo [CEAppManager] ^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo Version = 1.0 ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo Component = %%~n1 ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo. ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo [%%~n1] ^>^> cabinstaller.ini^ >> %temp%\%INSTALL_SCRIPT%
echo echo Description = %%~n1 ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo CabFiles = %%~n1%%~x1 ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo. ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo start /wait "CabInstaller" "%ASYNC_install_dir%\ceappmgr.exe" "%%~d1%%~p1cabinstaller.ini"^ >> %temp%\%INSTALL_SCRIPT%
echo del /q cabinstaller.ini^ >> %temp%\%INSTALL_SCRIPT%

move "%temp%\%INSTALL_SCRIPT%" "%ASYNC_install_dir%\%INSTALL_SCRIPT%"
for windows vista:
http://ftp.support.softspb.com/~ildar/vista_install.cmd
Code:
rem PPC cab's installer from PC!
rem idea and first edition by djet
rem optimization and vista edition by thevery (ildar@softspb.com)
rem for windows vista
@echo off
set INSTALL_SCRIPT=Cab2PPC_Installer.cmd
set spacer=" "

REG ADD HKCR\Cab2PPC\shell\CabInstaller /ve /d "Install to PPC" /f
REG ADD HKCR\Cab2PPC\shell\CabInstaller\command /ve /d \""%windir%\WindowsMobile\%INSTALL_SCRIPT%"\"%spacer%\"%%1\" /f
REG ADD HKCR\.cab /ve /d Cab2PPC /f

echo @echo off  > %temp%\%INSTALL_SCRIPT%
echo echo [CEAppManager] ^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo Version = 1.0 ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo Component = %%~n1 ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo. ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo [%%~n1] ^>^> cabinstaller.ini^ >> %temp%\%INSTALL_SCRIPT%
echo echo Description = %%~n1 ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo CabFiles = %%~n1%%~x1 ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo echo. ^>^> cabinstaller.ini >> %temp%\%INSTALL_SCRIPT%
echo start /wait "CabInstaller" "%windir%\WindowsMobile\ceappmgr.exe" "%%~d1%%~p1cabinstaller.ini"^ >> %temp%\%INSTALL_SCRIPT%
echo del /q cabinstaller.ini^ >> %temp%\%INSTALL_SCRIPT%

move %temp%\%INSTALL_SCRIPT% %windir%\WindowsMobile\%INSTALL_SCRIPT%
__________________
Ildar R. Karimov
Spb Software House
thevery is offline   Reply With Quote
Sponsor Ads
Old 12-27-06, 07:08 AM   #2 (permalink)
Aximsite Elite
 
spunker88's Avatar
 
Join Date: Dec 2006
Location: Middle of Nowhere, NY
Posts: 3,806
Device: Samsung Alias 2
Carrier: Verizon
Thanked 6 Times in 5 Posts

Awards Showcase
Aximsite Active Bronze Member 
Total Awards: 1

I think it was mentioned on here before, this can be very useful to people who have a hard time getting cab files to install.
__________________
Dell Axim X50
Windows Mobile 2003SE
Think Outside IR Keyboard
8GB CF Card (Apps, Movies)
2GB SD Card (Music)

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Best Pocket PC Freeware Sites:

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
spunker88 is offline   Reply With Quote
Reply

Tags
cab, files, howto, install

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PRC Files Install dsmturbo X50 / X51 Forums 6 05-01-06 06:09 PM
how do i install .tsk files marksj X50 / X51 Forums 2 02-25-06 05:58 PM
Can't install any files---help!!! streetcar X30 / X3 / X3i Forums 3 01-01-05 06:42 PM
What to do with .cab files after install? Rock*Lives X30 / X3 / X3i Forums 6 12-06-04 12:45 AM
How to install exe files mrand X30 / X3 / X3i Forums 12 11-10-04 11:44 AM


All times are GMT -5. The time now is 03:05 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC