Jump to content

midiboy

Member
  • Posts

    703
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Austria

Everything posted by midiboy

  1. Hi Benjamin, Oh I am sorry about that ! I hope it won´t take too long ! Good luck for your exams ! Bye, Alex
  2. Hi Benjamin, just tried it out. It still does not work as expected. Sorry to say. On my machine, the folder C:\Dokumente und Einstellungen\Default User\Desktop contains the following lnk files: eMule.lnk Foobar.lnk Firefox.lnk MediaPlayer.lnk Nero.lnk Outlook.lnk Since this is the Default user profile, a newly created user should and normaly also gets those files copied into his new Desktop folder. But if I create a new user with Wihu and change the shell folder Desktop to for instance D:\%Personal%\Desktop, the resulting folder will be empty. None of the above lnk files are in there anymore. With your older Wihu versions, Wihu would copy those files if the Desktop folder was left at the default location when creating a new user. With the new version, Wihu does not copy them no matter where the Desktop folder is. I just tried with two new users. The first user got the Desktop folder on a new location, the second one on the default location. Wihu created the folders as expected but did not copy any files. Thanks for your help, Alex
  3. Thanks, looking forward to it ! Bye, Alex
  4. Well, I don´t have to understand that, right ? Little Endian Mode ... reminds me of a movie I once saw about a little Indian Anyway ... do you know what´s wrong with the Desktop moving feature ? Thanks, Alex
  5. Oh .... it is the line but starting with Index 21, not with Index 0. Ok, I know how to do this now, but I have no idea why. But that is not your problem Thanks, Alex
  6. Hi Benjamin, I am sorry I still don´t understand, on the contrary I have no idea what you are doing here. Maybe I should study some math ? No, so those are binary values now ? Why did you write about taking the power of 2 of each index then ? I am very confused. I though I should do this: 4 ^ 2 (=16) + 5 ^ 2 (=25) + etc. now, you are saying that I simply add a few ones and zero´s in binary mode ? Also, if I do the latter, does it matter where I put the zero´s and one´s ? Because this: 1111111111110011110000 does not seem to resemble this: Index 4: "%USERPROFILE%\\Start Menu\\Programs\\Administrative Tools" Index 5: "%USERPROFILE%\\Local Settings\\Temporary Internet Files" Index 6: "%USERPROFILE%\\Local Settings\\Application Data\\Microsoft\\CD Burning" Index 7: "%USERPROFILE%\\Cookies" Index 10: "%SystemRoot%\\Fonts" Index 11: "%USERPROFILE%\\Local Settings\\History" Index 12: "%USERPROFILE%\\Local Settings\\Application Data" Index 13: "%USERPROFILE%\\Local Settings" Index 14: "%USERPROFILE%\\NetHood" Index 15: "%USERPROFILE%\\PrintHood" Index 16: "%USERPROFILE%\\Start Menu\\Programs" Index 17: "%USERPROFILE%\\Recent" Index 18: "%USERPROFILE%\\SendTo" Index 19: "%USERPROFILE%\\Start Menu" Index 20: "%USERPROFILE%\\Start Menu\\Programs\\StartUp" Index 21: "%USERPROFILE%\\Templates" ? So I have no idea how you came to that number you gave me, even though it does work ... One can clearly see that I never liked math at school Sorry for being slow ... As for the desktop moving thing ... any news ? Thanks, Alex
  7. Hi Benjamin, I still don´t get it or it still does not work ... According to your explanation the following should disable and hide all the folder except Pictures, Video, Music, Personal, Favorites and Desktop, right ? Index 4: "%USERPROFILE%\\Start Menu\\Programs\\Administrative Tools" Index 5: "%USERPROFILE%\\Local Settings\\Temporary Internet Files" Index 6: "%USERPROFILE%\\Local Settings\\Application Data\\Microsoft\\CD Burning" Index 7: "%USERPROFILE%\\Cookies" Index 10: "%SystemRoot%\\Fonts" Index 11: "%USERPROFILE%\\Local Settings\\History" Index 12: "%USERPROFILE%\\Local Settings\\Application Data" Index 13: "%USERPROFILE%\\Local Settings" Index 14: "%USERPROFILE%\\NetHood" Index 15: "%USERPROFILE%\\PrintHood" Index 16: "%USERPROFILE%\\Start Menu\\Programs" Index 17: "%USERPROFILE%\\Recent" Index 18: "%USERPROFILE%\\SendTo" Index 19: "%USERPROFILE%\\Start Menu" Index 20: "%USERPROFILE%\\Start Menu\\Programs\\StartUp" Index 21: "%USERPROFILE%\\Templates" ShellFolderModify.Disallow =3152 ShellFolderModify.Hide = 4 ShellFolderModify.Hide = 5 ShellFolderModify.Hide = 6 ShellFolderModify.Hide = 7 ShellFolderModify.Hide = 10 ShellFolderModify.Hide = 11 ShellFolderModify.Hide = 12 ShellFolderModify.Hide = 13 ShellFolderModify.Hide = 14 ShellFolderModify.Hide = 15 ShellFolderModify.Hide = 16 ShellFolderModify.Hide = 17 ShellFolderModify.Hide = 18 ShellFolderModify.Hide = 19 ShellFolderModify.Hide = 20 ShellFolderModify.Hide = 21 But it does not work. Not only are all the folders visible but I can also change some of them. But maybe it´s me who is too dumb here ... I also tried this: ShellFolderModify.Hide = 3152 or this ShellFolderModify.Hide = 4 , 5 , 6, 7 etc ... but nothing worked .... Sorry, Bye, Alex
  8. Hi Benjamin, I will try the new index thing shortly and let you know if it works ... No, I did not move the Default Profile. It is still at the default location at C:\Dokumente und Einstellungen\Default User. The Desktop folder is inside that. That is not the problem. The problem is: if I change the location of a users desktop from within Wihu from the default location %PROFILE%\Desktop to lets say, D:\%ThisUser%\Desktop, then Wihu will create an empty folder named Desktop inside D:\%ThisUser%\ AND a folder named Desktop at the default location for this user: D:\Dokumente und Einstellungen\%ThisUser%\Desktop. Everything that was in the Default User\Desktop directory will be copied to this folder: D:\Dokumente und Einstellungen\%ThisUser%\Desktop but it should be copied to this folder: D:\%ThisUser%\Desktop Everything clear now ? I am not sure how this works for all the other folders you can change in Wihu. Maybe this "bug" (if it is one) does not only happen with the Desktop folder but also with other folders you can change in Wihu BYe, Alex
  9. Ok, I then thought, maybe the index number is not random but fixed so I tried with this list: Index 1: "%USERPROFILE%\\My Documents\\My Music" Index 2: "%USERPROFILE%\\My Documents\\My Pictures" Index 3: "%USERPROFILE%\\My Documents\\My Videos" Index 4: "%USERPROFILE%\\My Documents" Index 9: "%USERPROFILE%\\Desktop" Index 10: "%USERPROFILE%\\Favorites" ShellFolderModifyFlags =211 But still, it is not working. I can change administrative tools but not the video folder. Mhh .. I hope I am not doing something wrong ... Bye, Alex
  10. Hi Benjamin, thanks for your quick reply ! 1. The desktop moving thing: If I set the desktop to be on a different location as the default, Wihu will create an EMPTY folder named Desktop there. However, in the profile directory of the user, there will be another Desktop directory and THIS ONE will have all the files in it that were in the "Default User\Desktop" directory. So, Wihu copies the Default directory but not to the new location! 2. The Index thing ... Thanks for creating this. However, I am at a loss here right now ... "Power of 2" means "hoch 2" in german, right ? Figured that one out by myself However, in your example ... ; Index 1 and 2 have to be combined ; ShellFolderModifyFlags = 2^1 + 2^2 = 3 ; ShellFolderModifyFlags = 3 2^2 = 4 right ? So how can 2^1 + 2^2 be 3 then ? Anyway, I tried this with my own example: I added this to the [settings] : Index 1: "%USERPROFILE%\\My Documents\\My Music" Index 2: "%USERPROFILE%\\My Documents\\My Pictures" Index 3: "%USERPROFILE%\\My Documents\\My Videos" Index 4: "%USERPROFILE%\\My Documents" Index 5: "%USERPROFILE%\\Favorites" Index 6: "%USERPROFILE%\\Desktop" ShellFolderModifyFlags =91 But it is not working. I can change the Administrative tools but not the video folder. Anyway, as a bonus ... would you be able to completely get rid of the "not changable " folders from the contact list instead of just making them uneditible ? This would make the list much more transparent and easier for the user ? Thanks ! Bye, Alex
  11. Hi guys, thanks for your replies and sorry for my delay in answering ... Quite a few interesting suggestions ... @gunsmokingman: yeah, something like that but without those buttons ! Buttons make people wanna click them and thats exactly what I don´t want them to do if a script is running RogueSpear: Sounds cool ! Could you post some code ? I am not very good with code I guess that will be html with javascript or something ? maxXPsoft: Thanks. I tried that but I guess something is missing there ... I have no idea but I guess the "Screen" has to be declared or something ? Sorry if this is a dumb question ... also Kaspersky started to warn if I add those lines What happens by the way, if the script fails for some reason. Won´t I be able to use the mouse then ? Bye, Alex
  12. Hi Benjamin, sorry for yet another problem I just found out today regarding moving the Windows Desktop location when creating a new user in Wihu. It does work, and Wihu creates a new folder at the proper location. The problem however is that the content of the default folder "Desktop" inside the userprofile does not get copied to the new location. I think Wihu should check if that folder contains data and copy it to the newly created folder or to the folder existing at the new location. I have a few lnk files etc inside the "Default User\Desktop" directory that I want to be placed on every desktop but those files don´t appear on the desktop if the desktop is moved. One other thing ... I just found out today that some people who I gave my unattended DVD put their systemfolders into the strangest places. Folders like Font location, local settings, startmenu etc etc ... As a suggestion ... could you maybe add a switch to install.ini to make it possible to prevent users from seeing (and possible changing) systemfolders that I don´t want them to see/change ? I think it´s ok if they change the music, video, picture, favorites and personal folders, maybe even the desktop ... but all the other folders should be invisible to the user if I set it so ... Something like a whitelist or blacklist .. whatever you prefer ... Thanks ! Alex I think users should be able
  13. Hi guys ! Maybe some vb savvy user here can give me some vb code for popping up a warning message on start of a script and closing it again at script end. I would like to pop up a message instructing the user that a script is running and keyboard and mouse should not be used ! Currently I am doing this using a cmd window but it does look very retro during runonceex I did look for some code on the net but all I found was a messagebox function which has to be closed manually by the user. This of course is not good during unattended setup. Unfortunately, I am not good enough to programm for myself ... Would be very nice if someone would help ! Thanks, Alex
  14. Hi Benjamin, I understand. Well, maybe you can implement that sometime in the future. The reason why I would need some programs to install as the Administrator (currently logged on) instead of the default user is that some programs open a website after silent installation (Dreamweaver, ZoomPlayer etc.) This is no problem as I can taskkill the browser window but it still triggers the creation of a new profile (I am using firefox as the default browser) and therefore the "Import Internet explorer favorites" wizard does not come up anymore when the user opens firefox for the first time which is bad. I could of course delete the profile after installation but what if someone tried to reinstall some programs from CD using Wihu at some later date ? It would then delete the profile again. I know, a very specific problem to firefox users ... Anyway, being able to install a few programs as the currently logged on user would help a lot ! I was thinking of a new command. Something like "UseCurrentUser.1 = 1" which would be 0 by default but could be set to 1 for some programs. Well, first of all, I am not really sure what I am doing ... I stumbled across this settings by accident. There are two places in the registry (maybe more?) for the "Common Documents" setting: UserSHellFolders and ShellFolders. See picture. They behave differently though. If I set the setting under "UserShellFolder" the exported key is in hex: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] "Common Documents"=hex(2):25,00,41,00,4c,00,4c,00,55,00,53,00,45,00,52,00,53,\ 00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,44,00,6f,00,6b,00,\ 75,00,6d,00,65,00,6e,00,74,00,65,00,00,00 Writing into this key using the REG ADD command does not seem to work, at least not during setup. Even if the setting is accepted in the registry, the folder "Common Documents" on "My computer" either points to the same old place or the folder disappeares completely which would indicate that this reg setting is not enough. I DID copy the content of the folder to the new location manually but it did not help! Moreovere, programs like Adobe Acrobat install into this folder and if the folder is moved later on ( even if I copy the Adobe folder to the new location ), the Acrobat uninstaller exits with a major network error if the registry setting points to another location. Setting it back to the default will cure that problem ... Either way, this does not seem to work ... Bye, Alex
  15. Hi Benjamin, is there currently an option somewhere to install a few programs as the currently logged on user (Administrator in my case ) instead of the default user that got created by Wihu? I would need this for a few programs .... edit: without having to check "use currently logged on user" on the first dialog page because I would still like to add a default user and I need this option only for 2 or 3 programms, not for all programs. And another thing ... I would like to move the shell folder "Common Documents" which you can see in "My Computer" to some other location from "C:\Documents and Settings\All Users\Documents". The option in TweakUI does not work. I then tried modifying the registry, there are some options available under HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders and Shell folders. However, even if this works somewhat, it seems to cause problems because for instance, Adobe Acrobat will install something in this folder and then not find it during uninstallation if the registry was changed and cause and error message. So my question would be ... could you maybe add an option to change the "Common Documents, Common Music, Common Videos and Common Pictures" folders for the PC if this is possible in a correct and working way ? Thanks, Alex
  16. Hi ! Thats not working in this case. Even setting the path to the iss manuall using the f1 switch does not work. Bye, Alex
  17. Hey ! No, I did that of course. More than once. The changed path is not remembered, no matter what I do. Windows sets it back to C:\Documents and Settings\%USERNAME%\Documents Bye, Alex
  18. Hi ! Thanks for trying to help ! @Astalavista: I altready looked for that feature in the regtweaks document in the sticky thread. I came up with the code I posted in the first post but as I said, it removes all the documents folders, not just the Shared folders. @prathapml: It does not work with TweakUI. I created a new folder on D: and call it Shared. I create three subfolders named Music, Videos and Pictures inside. Then I change each Shared Folder ( Documents, Music, Pictures, Videos ) in TweakUI to the newely created folders clicking "apply" after each change. After opening TweakUI again, the changes are removed and the old path is there again. Somehow Windows won´t let me change the path for the shared folders ... Bye, Alex
  19. Hi guys ! I have been looking for a solution to this but couldn´t find one. Is there a way to remove the "Shared Documents" folder from "My Computer" but keep showing the individual "Personal" folders there ? I found many sources for removing the Shared Documents folder like this one for instance: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoSharedDocuments"=dword:00000001 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoSharedDocuments"=dword:00000001 [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}] but it removes the whole section with all folders not only the Shared Documents folder. As an alternative, would there be a way to change the destination of the "Shared Documents" folder to some other place but keep the %ALLUSERSPROFILE" where it is ? (similar to having a user profile in "C:\Documents and Settings\%USERNAME%" and the "%PERSONAL%" folder on "D:\%USERNAME%" for instance ) Any ideas ? Thanks, Alex
  20. Hi Benjamin, oh well, you said you changed it but didn´t ... or didn´t until now (because in .19 it was still in [Environment] ) But I am glad the function is still working ! Will try it soon ! Bye, Alex
  21. Hi again, Benjamin, sorry to say but this last version seems to have broken the default Home path for all users (again ) ... It used to work with your last version (.19) but in .21 "Basisordner" is left empty even though I have set [Environment] Home=%PERSONAL% in install.ini Hoping for a quick fix Thanks, Alex
  22. You are so nice !!! Thanks, Alex
  23. Thanks guys, I didn´t know about those variables yet (although I did use the %errorlevel% in a batch file once .. Thanks, Alex
  24. Hey a06lp ! This is just a wild guess but %CDROM% is not the same as %CD% ! Do you know what a relative path is ? Your %CDROM% is a variable used to determine the CD drive your are installing from, right ? Bye, Alex
×
×
  • Create New...