Thread: Cab Making
View Single Post
  #24 (permalink)  
Old 04-12-2010, 04:05 PM
sebo's Avatar
sebo
Regular 'Geeker
Offline
 
Join Date: Feb 2008
Posts: 463
Reputation: 1644
sebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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..
__________________
the internet is FREE..
search and you shall find..

Last edited by sebo; 04-12-2010 at 05:28 PM.
Reply With Quote