To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=111232
                 Issue #|111232
                 Summary|solenv: temporary progs run by mhids.pl cause UAC dial
                        |og
               Component|tools
                 Version|OOO320m15
                Platform|Unknown
                     URL|
              OS/Version|Windows Vista
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|solenv
             Assigned to|mh
             Reported by|tml





------- Additional comments from t...@openoffice.org Wed Apr 28 14:55:46 +0000 
2010 -------
When generating .hid files from .src files, the script solenv/bin/mhids.pl
creates and runs a temporary program. The name of the program is constructed
from the basename of the .src file. Some .src files have names with strings
"setup", "patch", "update" or "install" in them (one even has two of them...).

Running programs with names that contain these strings (and other similar?)
cause an UAC dialog on Windows Vista and newer. That should be avoided, because
the pointless dialog pauses the build.

There is already a commented-out line in mhids.pl to handle this for "setup",
that needs to be uncommented, and additionally also the other magic strings 
handled.

Patch:

--- solenv/bin/mhids.pl
+++ solenv/bin/mhids.pl
@@ -151,7 +151,11 @@
 $filebase =~ s/.*[\\\/]//;
 $filebase =~ s/\..*?$//;
 $workfile = "$tmpdir/${filebase}_".$$;
-#$workfile =~ s/setup/set_up/;
+# Avoid UAC prompts on Windows
+$workfile =~ s/setup/set_up/;
+$workfile =~ s/patch/pat_ch/;
+$workfile =~ s/update/up_date/;
+$workfile =~ s/install/in_stall/;
 
 # now get $workfile ready for shell usage...
 $shell_workfile = $workfile;

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to