Edited by Michael*, 02 August 2011 - 01:10 PM.
Missing Start Menu Items (All of Them)
#1
Posted 02 August 2011 - 01:06 PM
#2
Posted 02 August 2011 - 01:40 PM
Its not very clear what you are on about. you unchecked the boxes for each desktop shortcut? or you went about in the code for each script and manually edited the Interface (or some other) section?I removed the creation of all the application shortcuts on the desktop, changing True to False on those specific items and my build ended up missing all the Start Menu items. I didn't remove the option to include the applications on the start menu, I wanted those! Has this happened to anyone else, did I remove a mystery desktop shortcut that prevented the menu items from being created? The applications still run properly from their program folders on X:\
I just wanted a clean looking build ... oh yea, it did look clean but I had to figure out where all the programs went.
Also, it would also help very much to know what project you are using...
#3
Posted 02 August 2011 - 04:09 PM
I can post a screenshot later. All the programs installed on X and I was left with perhaps two entries on the start menu
I used to have them all .... For sure, the entry for Hiren's v14 was properly there, so Scott's script was fine. That's something to look at. I don't know why so many others boobed, or how I hosed the creation of the startmenu entry with this simple change? I remember in the log, there were no errors or warnings that I recall and the programs functioned correctly.
I suppose I could get lucky and it could have been just a strange build error something
We'll see what happens when I try again.
Its not very clear what you are on about. you unchecked the boxes for each desktop shortcut? or you went about in the code for each script and manually edited the Interface (or some other) section?
Also, it would also help very much to know what project you are using...
Edited by Michael*, 02 August 2011 - 04:22 PM.
#4
Posted 02 August 2011 - 04:37 PM
Now why in the world would you do that?All I did was go through and changed true to false in the code for each script where it states to create the desktop shortcut.
Use the WB script interface to change settings that are meant to be changed.
#5
Posted 02 August 2011 - 04:47 PM
Which shortcuts are offered, is ONLY a decision of the script (the script's author).All I did was go through and changed true to false in the code for each script where it states to create the desktop shortcut. I do understand that some simple scripts do not create startmenu entries, but only desktop shortcuts which I turned off. The project is Win7PE_SE x86 with Enterprise Trial Source & Win7 x86 SPI host. I used winbuilder 082 preview 2 with v93 of commonapi.
So, if the script has only the Desktop choice: When you unselect it, there is no other shortcut generated.
But you can easily change the behaviour in your private installation.
Search for the line
orAdd_Shortcut,Desktop
And change toAdd_Shortcut,DE
(Should be good when you also change the interface from Desktop to StartMenu)Add_Shortcut,SM
That's sufficient that the shortcut appears in the start menu.
For enhanced options, e.g. startmenu subfolders, look at the API documentation.
Peter
#6
Posted 02 August 2011 - 05:48 PM
I know why the ones without menu entries weren't there. I don't know what happened to the ones that had startmenu entries there before?
I will have to examine some of the scripts I messed with and try to show ya'll what the deal is ...
I guess I just changed the wrong thing in the code, got to put all the desktop shortcuts back, then go from there.
I need a simple Macro for Notepad++ or Textpad. hint.. hint ..
So, if the script has only the Desktop choice: When you unselect it, there is no other shortcut generated.
But you can easily change the behaviour in your private installation.
Search for the line .....
Peter
Edited by Michael*, 02 August 2011 - 05:49 PM.
#7
Posted 02 August 2011 - 06:34 PM
I need a simple Macro for Notepad++ or Textpad. hint.. hint ..
Maybe this code helps to give you an introduction:
[Process] ... If,%pCheckBox2%,EQUAL,True,Add_Shortcut,DE,,#$pSystemRoot#$p\system32\taskmgr.exe,Task Manager If,%pCheckBox3%,EQUAL,True,Add_Shortcut,SM,,#$pSystemRoot#$p\system32\taskmgr.exe,Task Manager
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users







