Register Forums Today's Posts Reviews Gallery Video Vault Downloads Resources Shopping
Go Back   Mobility Site > PocketPC Software Forums > Windows Mobile OS > ActiveSync

ActiveSync Why has it taken so long for this category?

Reply
 
LinkBack Thread Tools
Old 12-27-06, 04:07 AM   #1 (permalink)
Aximsite Prospect
 
Join Date: Mar 2006
Posts: 19
Location: Spb, Russia
PDA: x51v
Phone: SE k750i
Carrier: North-West GSM
Laptop: sony s4hrp
iTrader Rating: (0)
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
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
sponsor links


Old 12-27-06, 06:08 AM   #2 (permalink)
Aximsite Elite
 
spunker88's Avatar
 
Join Date: Dec 2005
Posts: 3,764
Location: Middle of Nowhere, NY
PDA: Axim X50
Phone: Samsung Alias 2
Carrier: Verizon
Laptop: HP dv5
PMP: TCPMP
iTrader Rating: (0)
View MyPDA
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)


Best Pocket PC Freeware Sites:
FreewarePPC
Pocket PC Freewares
PdaGold Freeware


"If it aint broke, don't fix it..."

Aximsite Active Bronze Member 

spunker88 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
cab, files, howto, install

sponsor links



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 05:09 PM
how do i install .tsk files marksj X50 / X51 Forums 2 02-25-06 04:58 PM
Can't install any files---help!!! streetcar X30 / X3 / X3i Forums 3 01-01-05 05:42 PM
What to do with .cab files after install? Rock*Lives X30 / X3 / X3i Forums 6 12-05-04 11:45 PM
How to install exe files mrand X30 / X3 / X3i Forums 12 11-10-04 10:44 AM


All times are GMT -5. The time now is 07:12 PM.