PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Touch Pro 2 (http://forum.ppcgeeks.com/forumdisplay.php?f=97)
-   -   Cab Making (http://forum.ppcgeeks.com/showthread.php?t=117217)

codybear 04-10-2010 05:17 AM

Re: Cab Making
 
You could use autohotkeyce to create an install file basically.
AHKCE = 100 times more powerful than mortscript, and its still in beta!!

You would only need to do something along the following lines:
Code:

IfExist file you want to delete here, look at autohotkey help file for syntax
  FileDelete, again, look at autohotkey help file for syntax

FileInstall, use this to tell the script what to install, and where.

Exit

Then, when you use the correct syntax for fileinstall, and compile the script (which can be done right on your device), it'll actually include the files to be installed in that exe that is created.


Edit: you can also look in the documentation section of autohotkey.com for syntax.
Search the site for autohotkeyce and you'll find the thread with the port. ;)

sebo 04-12-2010 01:07 AM

Re: Cab Making
 
Quote:

Originally Posted by DomSim (Post 1691050)
glade to help! curious though, why do you want to get rid of that file each time?

i think the reason is it gets you "free" navigation :twisted:

DomSim 04-12-2010 10:45 AM

Re: Cab Making
 
^ oh, oops lol. im aiding and abetting..

sebo 04-12-2010 04:05 PM

Re: Cab Making
 
i am getting unsuccessful error when trying to move a .lnk from one directory to another, says due to permissions.. so i checked the MS site and it says use "RemoveAttributes" the .lnk is a system file so i added "S" and "H" (just in case it's hidden).

Code:

<characteristic type="FileOperation">
    <characteristic type="\Windows\Start Menu\Programs\E-mail.lnk">
        <characteristic type="Move">
            <parm name="Source" value="\Windows\Start Menu\Programs\Messaging\E-mail.lnk" translation="install" />
            <parm name="RemoveAttributes" value="H" />
            <parm name="RemoveAttributes" value="S" />
        </characteristic>
    </characteristic>
</characteristic>

also tried one line for attributes:
Code:

<parm name="RemoveAttributes" value="S,H" />
same issue..

edit: actually i can delete the .lnk file but mysteriously i can't move or copy it from start menu\programs to start menu\programs\messaging, strange..

codybear 04-12-2010 06:24 PM

Re: Cab Making
 
Quote:

Originally Posted by sebo (Post 1695252)
i am getting unsuccessful error when trying to move a .lnk from one directory to another, says due to permissions.. so i checked the MS site and it says use "RemoveAttributes" the .lnk is a system file so i added "S" and "H" (just in case it's hidden).

Code:

<characteristic type="FileOperation">
    <characteristic type="\Windows\Start Menu\Programs\E-mail.lnk">
        <characteristic type="Move">
            <parm name="Source" value="\Windows\Start Menu\Programs\Messaging\E-mail.lnk" translation="install" />
            <parm name="RemoveAttributes" value="H" />
            <parm name="RemoveAttributes" value="S" />
        </characteristic>
    </characteristic>
</characteristic>

also tried one line for attributes:
Code:

<parm name="RemoveAttributes" value="S,H" />
same issue..

edit: actually i can delete the .lnk file but mysteriously i can't move or copy it from start menu\programs to start menu\programs\messaging, strange..

Try deleting and recreating it as a workaround.

DomSim 04-13-2010 12:02 AM

Re: Cab Making
 
or just change it in the initflashfiles.dat so it moves to where you want it in the first place.


All times are GMT -4. The time now is 11:37 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0