View Single Post
  #4988 (permalink)  
Old 04-28-2010, 10:45 PM
Eschelon's Avatar
Eschelon
Я да не ми фъфлиш, бе!
Offline
 
Join Date: Jun 2009
Posts: 1,362
Reputation: 4760
Eschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: ║MightyROM.com║ ║Windows Phone®║ ║Sense UI 2.5║

Quote:
Originally Posted by boggsie View Post
Alright you haxors ... I need some mortscript help.

I am trying to write a mortscript to organize the start menu for OF and FF. I don't know if anybody would want it, but I figured I would give it a shot.

Well, I can't figure out why the HTC_*.lnk items in the start menu won't delete after I have tried to move them. The move command ends up copying them, so rather that beat my head against a wall on that, I figured I would just do an explicit delete and the darned files are still there.

I've attached the entire mortscript as it stands now, but here is a code snippet:

Code:
If ( FileExists( "\Windows\Start Menu\Programs\HTC_Music.lnk" ) )
SetFileAttribute("\Windows\Start Menu\Programs\HTC_Music.lnk","hidden", FALSE)
SetFileAttribute("\Windows\Start Menu\Programs\HTC_Music.lnk","readonly", FALSE)
SetFileAttribute("\Windows\Start Menu\Programs\HTC_Music.lnk","system", FALSE)
SetFileAttribute("\Windows\Start Menu\Programs\HTC_Music.lnk","archive", FALSE)
Move( "\Windows\Start Menu\Programs\HTC_Music.lnk","\Windows\Start Menu\Programs\Multimedia","TRUE"  )
Delete( "\Windows\Start Menu\Programs\HTC_Music.lnk")
EndIf
As I mentioned, the "Move" ends up copying the item, so I thought that by adding an explicit delete, it would clear things up, but it didn't.

Best regards,
-boggsie
I know exactly what you're talking about. I had the same issue, so I tried using Sashimi's built-in feature to automatically delete .lnk files. When that didn't work I wrote my own mortscript to delete them. Still didn't work... So I ran it by ziggy to get his take and he suggested that I simply edit the install location of the cab files. Doing that fixed the problem. You may want to give that a try