Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  | Правила  

Компьютерный форум OSzone.net » Зона тестирования » Тест-форум » self extracting archive and UAC prompt of Windows 7

Ответить
Настройки темы
self extracting archive and UAC prompt of Windows 7

Новый участник


Сообщения: 0
Благодарности: 0

Профиль | Отправить PM | Цитировать


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!

Отправлено: 19:59, 03-03-2010

 

(*.*)


Сообщения: 36567
Благодарности: 6698

Профиль | Сайт | Отправить PM | Цитировать


Цитата german_user:
sorry for mistakes in using the forum, I dont understand Russian language »
Well, in order to register you have to answer a question asked in Russian, unless you got lucky and drew a math question... Generally, we don't provide support in foreign languages...

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

-------
Канал Windows 11, etc | Чат @winsiders


Отправлено: 22:57, 03-03-2010 | #2



Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети.

Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля.


Новый участник


Сообщения: 0
Благодарности: 0

Профиль | Отправить PM | Цитировать


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  
del Zugangsclient.exe  
cd folder
C:\Programme\7-zip\7z a -t7z ../Zugangsclient.7z * -mmt=on -mx=9  
cd ..  
copy /b 7z.sfx + config.txt + Zugangsclient.7z Zugangsclient.exe
config.txt
Код: Выделить весь код
;!@Install@!UTF-8!  RunProgram="Testzugang-einrichten.bat"  ;!@InstallEnd@!
7zip version 4.65

In order to attach the file I asked another russian colleague

Последний раз редактировалось german_user, 08-03-2010 в 12:50.


Отправлено: 20:16, 04-03-2010 | #3


Новый участник


Сообщения: 0
Благодарности: 0

Профиль | Отправить PM | Цитировать


Вложения
Тип файла: 7z 7z.sfx.7z
(55.8 Kb, 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, 05-03-2010 в 15:33.


Отправлено: 20:21, 04-03-2010 | #4


(*.*)


Сообщения: 36567
Благодарности: 6698

Профиль | Сайт | Отправить PM | Цитировать


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.

-------
Канал Windows 11, etc | Чат @winsiders


Отправлено: 23:03, 06-03-2010 | #5



Компьютерный форум OSzone.net » Зона тестирования » Тест-форум » self extracting archive and UAC prompt of Windows 7

Участник сейчас на форуме Участник сейчас на форуме Участник вне форума Участник вне форума Автор темы Автор темы Шапка темы Сообщение прикреплено

Похожие темы
Название темы Автор Информация о форуме Ответов Последнее сообщение
Установка Office 97 в среде Windows 7 ''ломает'' UAC OSZone News Новости и события Microsoft 12 05-01-2010 05:09
[решено] АвтоУстановка Self-Extracting Microsoft CAB archive приложений TRSteep Автоматическая установка приложений 2 16-02-2009 22:36
Обновленный UAC в Windows 7 OSZone News Новости и события Microsoft 16 08-11-2008 11:36
В Windows 7 будет снижен уровень UAC OSZone News Новости и события Microsoft 7 11-10-2008 23:53
Command Prompt JURIJ128 Хочу все знать 5 07-12-2006 08:48




 
Переход