![]() |
self extracting archive and UAC prompt of Windows 7
Hello to all users. (sorry for mistakes in using the forum, I dont understand Russian language)
We compiled a self extracting archive using a 7zS.sfx file and a config.txt file. The archive works fine, it extracts itself to %temp%\randomfolder and automatically starts a batch script as we ordered in the config.txt. Now we are wondering about the fact, that the self extracting archive is showing an UAC prompt on Windows 7 when it is started. Where is this information stored? Where can we change this option? We don´t need the self extracting archive to prompt for administrator rights. Is there any chance to change this option? Thank you in advance. Greetings from Germany! |
Цитата:
At any rate, you've got to post your config file and batch script, as well as your winver info. Attaching your SFX would be a plus, if you can figure out how to do it :) |
Hello.
Yes you are right, a russian colleague helped me with the registration. Win Ver: Microsoft Windows XP [Version 5.1.2600] batch-script Код:
del Zugangsclient.7z Код:
;!@Install@!UTF-8! RunProgram="Testzugang-einrichten.bat" ;!@InstallEnd@! In order to attach the file I asked another russian colleague :) |
Вложений: 1
Ok now I uploaded the sfx-file. Sorry but I didn´t find a possibility to edit the post and add the file there.
Thank you very much for your help! |
german_user, I've edited your code to make it more readable (hopefully, I did it right.).
UAC pops up when you need to perform an action as admin. Probably you try to copy a file or create/delete it in a folder, in which full rights are needed. For example, inside program files. To test, you can manually perform these operations in Explorer with UAC on, and you'll see which step is affected. Let me know if it makes sense to you. |
Время: 11:34. |
Время: 11:34.
© OSzone.net 2001-