Desktop interaction

Hi, i have a problem. I need to interact with a Desktop environment (For example, Windows Desktop or GNome ). The idea is as fallows: I have a full screen capture image of My Desktop, for example, i can see my winamp draw on the image and i want to change to the next song with a click.
Thx, Pollo
no creo que este muy claro con mi ingles, lo pondre en espa�ol por si alguien me puede ayudar:
Estoy haciendo una aplicacion que dibuje sobre el escritorio (windows o linux), lo que hago es capturar una imagen del escritorio y dibujarla en el JFrame/JPanel. Hasta el momento me funciona muy bien dibujar sobre la imagen, pero necesito tener sierta interaccion con el escritorio, o sea, si alguien esta usando PowerPoint pueda seguir cambiando las transparencias sin necesidad de minimizar mi aplicacion, la idea es que no se de cuenta que hay una aplicacion corriendo sobre el PPT salvo por los dibujos

http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html

Similar Messages

  • Allow desktop interaction within Azure Cloud Service with third-party desktop app (automated via code)

    Hello,
    I am developing a wrapper service as Worker Role which will take request from Service Bus and automate a third-party desktop app to produce an output file and then upload result back to our web server.  The automation is accomplished with the app's
    built-in .Net remoting based API.  This all works on my local development machine.  I am using code as below to start the desktop app.  In Azure:
    If I am not logged on to RDP and run the app as SYSTEM (or whatever the default WorkerRole account is), it waits forever for the MainWindowHandle.
    if I start the app manually in the RDP and try to get a reference to the running process (again as SYSTEM), I get Access Denied from WaitForInputIdle.
    if I start the app from code as the RDP user (ProcessStartInfo assign user/pass), I get InvalidOperationException - the app might not have a graphical interface from the WaitForInputIdle.
    Could anyone suggest the proper strategy for starting processes in a Worker Role that must create a window?
    For reference, I only care about the window to the extent that I need to make sure it's there.  All other interaction with the process is via the .Net Remoting API.
    private void GetOrStartThirdPartApp()
    _process = Process.GetProcessesByName("ThirdPartApp").FirstOrDefault();
    if (_process == null)
    _process = new Process();
    _process.StartInfo.Arguments = string.Format(@"-I ""{0}""", config.GetSetting("RolePath"));
    _process.StartInfo.WorkingDirectory = config.GetSetting("WorkingFolder");
    _process.StartInfo.FileName = config.GetSetting("ExecutablePath");
    _process.StartInfo.LoadUserProfile = true;
    _process.StartInfo.UseShellExecute = false;
    if (config.GetSettingAsBoolean("StartThirdPartAppWithRunAs", false))
    _process.StartInfo.UserName = "user";
    var password = new SecureString();
    foreach (var c in "thepassword".ToCharArray())
    password.AppendChar(c);
    _process.StartInfo.Password = password;
    _process.Start();
    while (_process.MainWindowHandle == IntPtr.Zero) Thread.Sleep(50);
    _process.WaitForInputIdle();
    _process.Exited += _process_Exited;

    I'd keep the app with the UI and the queue reader in the same process and account - not a worker role.  On start up you launch the desktop application and the queue reader in the same account, one after another.
    From what I've experienced, two users don't have the same
    Window Stations, so you can't pass a window handle in a different logged-in account across that boundary.  Read the Window Station documentation - you may find something that helps.
    You could use other techniques like sockets to communicate cross-process and cross-window station, too.
    Darin R.

  • Laptop and Desktop interaction with Lightroom

    I'm just getting started with Lightroom and one of my big concerns thusfar has been the interaction between photos with my desktop PC (permanent storage) and travel laptop (Macbook Air).
    I've read a ton of tutorials and posts on the matter, but they seem a bit outside the scope of what I'm doing. Many had people using dropbox to sync the two together, but I think that may be outside the scope of what I'm looking for.<br>
    Basically, here's my setup.<br>
    -Desktop PC houses my entire library of image files. Every night it is backed up to a file server<br>
    -Macbook Air that I take on the road with me<br>
    What I want to be able to do is take my Macbook Air on trips, and during the trip load my images onto it and do some light editing in lightroom. When I get home, I want to move all of the images into my permanent location on my desktop PC and copy the changes I made to the catalog on the road into my catalog that I use at home.<br>
    So I guess my questions are:<br>
    1. How is Lightroom going to handle my images changing locations? Initially they'll be in the default folder on my Mac, where I'll be editing them on the Mac, but eventually I'll move them all over to the storage location on my home PC.<br>
    2. Can I import an entire catalog from my Mac onto the PC?  I think this part is pretty easy but just wanted to make sure.<br>
    3. If I were to store the images on my home PC long-term, could I use dropbox just for the catalog files? I'm envisioning a scenario where the images are on my home PC and the catalog is on Dropbox, always sync'd such that I never have to import/export it, but I'm not sure if this is possible (I'd heard there were some issues with this, but the posts are a few years old).
    4. Does Lightroom need access to the original image files at all times or just when creating the catalog?  That is, if the files are on my home PC and I'm away on my laptop and don't have access to the original files, but do have access to the catalog, will it work?

    What I've done in a similar situation is select the images on the laptop, and then Export as Catalog. That creates a folder with a catalog containing all the edits, and another folder with the files themselves (assuming you check that option in the dialog box). Then I import from that catalog on my desktop.
    There may be a better way, though....

  • New exciting features in BFS (making desktop interactive at any load)

    here is more in-depth information:
    http://ck-hack.blogspot.com/2010/10/int … -load.html
    and patch available:
    http://ck.kolivas.org/patches/bfs/2.6.3 … tity.patch
    in addition -zen (git) is patched already with bfs 357. I have no idea if current zen in AUR is updated already or not... nope (quick check in AUR and it looks like out od date)

    broch wrote:
    read -ck blog: currently you are limited by the amount of memory available. Do you have that much RAM?
    not using swap? O.K. that is against basic VM theory (kernel needs swap irrelevant of RAM amount). In other words, quite irrelevant.
    kernel26-bfs was just patched with bfs-357 minutes ago so it is ready for testing (though I would tweak config per machine)
    You are right about memory. 4G don't go very far. I tried with 15G of swap with the two schedulers (the default and bfs+patch). I ran make -j 128 in the linux tree and then tried to open a browser and check a few web pages. The bottom line is that it's no better with one than the other. The default scheduler gives me nice pointer moves but almost no response as soon as the load reaches 100. BFS make the mouse more jumpy and it's hard to click on anything. But once launched, tasks seem to get some cpu and I could login to my email account.
    The real difference was when pressing control-c to interrupt make. It took about 10 secs on the standard scheduler while it was immediate with BFS.
    Do you guys get similar results? I am worried that some laptop mode tuning stuff screwed up the benefits (I was on AC though).

  • Date Format Issue with Interactive Form

    Hi, here is the scenario:
    -We just upgraded to SP17 from SP15
    -I'm using Livecycle Designer 8.0
    When we were on SP15, this was not an issue.  I was wondering if anyone encountered this problem and if so, if there is a workaround?
    I create an interactive form to start a guided procedure process.  Im passing the data from my desktop Interactive form to another callable object in GP to send an email with the PDF attached.  This all works correclty. 
    My date/time fields are set to type DATE with a display pattern of YYYY-MM-DD.  When I create the form in the GP administrator to my desktop and open the PDF, the date format is correct. However, when I submit the form to start the process, the incomming date fields to be mapped to my second Callable Object have change in format from "2009-02-18" to  "Wed Feb 18 00:00:00 EST 2009".
    This is true in the new form I receive via email, and also in NWA->monitoring->guided procedures when I check the instances.  The input mapping is already set to the false formatting.
    When I open the form from the second callable object with the incorrect date format (in designer), the date's display patterns are set to YYYY-MM-DD but are not being displayed as such.
    New discovery....I tried to create a Business Logic callable object and format the date.  I created a string input and date output and mapped them accordingly.  When I perform a "TEST" from the design time and use the input "Wed Feb 18 00:00:00 EST 2009", the string is automatically converted to 18/02/2009 in the output, which is what I want to occur.  The only problem is when I run the actual process, the same "Wed Feb 18 00:00:00 EST 2009" is being output instead of the 18/02/2009 in the TEST.
    Anyone have any ideas?
    Thanks.
    Edited by: Warren Clements on Feb 26, 2009 2:20 AM

    This test program might help...
    import java.util.*;
    import java.text.*;
    public class ExpandYear
        public static void main(String[] args) throws ParseException
         SimpleDateFormat sdf_2dyear = new SimpleDateFormat("MM/dd/yy");
         SimpleDateFormat sdf_4dyear = new SimpleDateFormat("MM/dd/yyyy");
         String test1 = "3/21/00";
         System.out.println("test1: " + test1 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test1)));
         String test2 = "4/9/99";
         System.out.println("test2: " + test2 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test2)));

  • Organizer and Contacts Desktop use

    Please consider altering the software to allow Input from the Desktop software for Calendar and Contacts.  It is much faster to type on a computer than on the Blackberry.  I have an 8900 Curve and like it in many ways, but my Palm Treo was tons better in the desktop mode.  In Blackberry, I cannot even See anything i have input on the Curve.  It is backed up but of little use otherwise.  Catch up with the competition and get Desktop interactive rather than simply a place to back up.  I  am beginning to regret changing over to Blackberry because the system seems more interested in selling me new products rather than meeting my needs.

    Here is a chart of those applicaitons available for sync:
    <a href="http://www.blackberry.com/btsc/KB12268">KB12268</a> Applications supported by BlackBerry Desktop Manager for synchronization
    I would direct you do Yahoo and Google as alternatives, if you don't want to download mail to your PC (But you also use Outlook for contacts and calendar only if you choose).
    http://www.google.com/mobile/products/sync.html#p=default
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Multiple Desktop Suggestions

    I love that Microsoft is finally bringing the feature to Windows. This is the main reason why, for the last 5 or so years, I have been using Linux as my primary work OS. A well designed multi-desktop experience can be very beneficial for productivity. However,
    I its implementation in the Preview build isn't quite there yet.
    Suggestions:
    Allow windows to be moved from desktop to desktop using a key combination. For instance while a window has focus a user could hold Win+CTRL+Shift and the Right Arrow and the window will cycle to the virtual desktop to the right as the user changes
    desktops.
    Allow the desktops to be auto-managed. This is a feature of Gnome 3 that I find very nice. A virtual desktop will be automatically created when you shuttle a window off to it or navigate to it and conversely if you empty a virtual desktop of all windows
    it will be automatically removed.
    Allow users to change key mappings/shortcuts. One trick I always liked to do, when I ran Compiz on Debian/Ubutntu, was to map my virtual desktop interaction to the w, a, s, d buttons + the standard key modifiers. Being a programmer and working with
    an IDE and terminal screens it is very convenient not to have to move my hand to the arrow pad. This is an edge case hence why I like the idea to allow people to edit the shortcuts to best suit their own needs.
    Window always on active display. There needs to be the ability to give a window the option to be always be on the active desktop (meaning it wont go away when you switch desktops). I find I'm always working with multiple windows and it is very convenient
    to always have a window displayed regardless of what desktop I'm looking at. My use cases for this are either having documentation on a second monitor that you're working off of or perhaps a video playing on Youtube/Netflix/Lynda.com which you're watching
    in the background.

    uninstall anything cc that's already installed, clean (Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6) and the reinstall, Adobe: Creative, marketing, and document management solutions

  • Installing an application through Powershell with SCCM 2012 r2 is not working as expected

    I am trying to install a VOIP client using a powershell script. When I run the powershell script on the client in a administrative powershell prompt the script runs fine and it installs the application as expected. When I try to do the same thing through
    the SCCM client using an application it does not install.
    I am not a Powershell Guru so the script below is my simple understanding of installations through powershell as of this moment
    <#
    Installatiescript CIC Client SU6 32 bit (kantoor)
    Versie 1.3
    17 april 2015 - Uitbreiding logfile. Fix opschonen startmenu
    16 april 2015 - Aanpassing verwijderen oude client, logfile aanmaken in TEMP
    13 maart 2015 - Eerste versie
    #>
    # Bepaal installatiebron
    $SourceDir = "\\VSC0501\SetupShare\APP_IC_Client_SU6\x86"
    # Bepaal logvariabelen
    $logfile = "$env:TEMP\cic_su6-install.txt"
    $Logdate = get-date -f yyyyMMdd-HHmm
    # Controleer of oude CIC client aanwezig is (versie 4.04.316) en deinstalleer deze indien nodig
    If (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}")
    $val = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}").DisplayVersion
    if($val -eq "4.04.316") {
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed" | out-file $logfile -Append
    exit
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed - " $process.ExitCode | out-file $logfile -Append
    exit
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru).exitcode
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru).exitcode
    Get-ChildItem "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" | Remove-Item -Recurse
    Remove-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" -Recurse -Force
    else {
    Write-Output "$logdate - Client not present" | out-file $logfile -Append
    # Installeer CIC Client SU6
    $Arguments = "/i `"$SourceDir\ICUserApps_32bit.msi`" /l*vx `"$env:TEMP\cic_su6.log`" TRANSFORMS=`"$SourceDir\Kantoor.mst`" PATCH=`"$SourceDir\ICUserApps_32bit_SU6.msp`" ICSERVERNAME=cic.abvakabofnv.local /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 (kantoor) has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 (kantoor) cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit
    # Installeer CIC Client SU6 NL Language Plugin
    $Arguments = "/i `"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl.msi`" /l*vx `"$env:TEMP\cic_su6_nl.log`" PATCH=`"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl_SU6.msp`" /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit
    # Opschonen Desktop en Start menu
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Fax.lnk"
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Voicemail Player.lnk"
    Move-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Interactive Intelligence" "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV" -force
    The uninstall part works fine, but the installation (2 parts) do not. As I mentioned before... when I run the script manually it all works fine.
    The application is installed using a script. The commandline is
    powershell.exe -excecutionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1
    The application runs hidden in the context of the system wether or not the user is logged on. The maximum allowed run time is sufficient (30 minutes).
    There is no installation log from the msiexec command so the line were the application should be installed is not executed at all. There is also no mention in my own little log ($logfile = "$env:TEMP\cic_su6-install.txt") mentioning the result
    of the installation.
    The appenforce.log says...
    +++ Starting Install enforcement for App DT "Interaction Client - Standaard SU6" ApplicationDeliveryType - ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision - 7, ContentPath - C:\WINDOWS\ccmcache\13, Execution Context - System AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    A user is logged on to the system. AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Performing detection of app deployment type Interaction Client - Standaard SU6(ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, revision 7) for system. AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    +++ Application not discovered. [AppDT Id: ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision: 7] AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    App enforcement environment:
    Context: Machine
    Command line: Powershell.exe -executionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1
    Allow user interaction: No
    UI mode: 0
    User token: null
    Session Id: 1
    Content path: C:\WINDOWS\ccmcache\13
    Working directory: AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Prepared working directory: C:\WINDOWS\ccmcache\13 AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Found executable file Powershell.exe with complete path C:\WINDOWS\System32\WindowsPowerShell\v1.0\Powershell.exe AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Prepared command line: "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" -executionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1 AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Executing Command line: "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" -executionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1 with user context AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Working directory C:\WINDOWS\ccmcache\13 AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Post install behavior is BasedOnExitCode AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Waiting for process 2916 to finish. Timeout = 30 minutes. AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Process 2916 terminated with exitcode: 0 AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Looking for exit code 0 in exit codes table... AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Matched exit code 0 to a Success entry in exit codes table. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Performing detection of app deployment type Interaction Client - Standaard SU6(ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, revision 7) for system. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    +++ Application not discovered. [AppDT Id: ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision: 7] AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    ++++++ App enforcement completed (3 seconds) for App DT "Interaction Client - Standaard SU6" [ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4], Revision: 7, User SID: ] ++++++ AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    I'm thinking of going back to a batchfile because that seems to do the job, but Powershell is much more powerfull.
    Anybody got any answers on what is going wrong are some suggestions for a better script? 

    You have a number of problems here.
    1.  As mentioned you have UNC paths ... which means there's no reason for a package at all.  f you want SCCM to use the package it just downloaded you should use $PSScriptRoot (PS equivelant of %~0dp).  If the client is using v2 or earlier
    ... fix that quick by starting your script with:
    If (!$PSScriptRoot) {
    $PSSCriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
    Now you can call your install easy enough with a $PSScriptRoot+"\app.exe"
    2.  your discovery is failing after install.  This will always make SCCM report an installation failed even when the exit code is 0.  You can see it at the end of your log:
    Matched exit code 0 to a Success entry in exit codes table. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Performing detection of app deployment type Interaction Client - Standaard SU6(ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, revision 7) for system. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    +++ Application not discovered. [AppDT Id: ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision: 7] AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    So either your installation script is spitting out a exit code 0 regardless of the event OR your detection is wrong.
    EDIT:  you have exit statemetns after failed installs ... but no exit code (simply exit).  Change those to exit 1 so sccm knows it's a failed exit and not just a generic exit.  That's probably your problem (unc can't be reached as system, you're
    getting an exit  .... not defining exit 1).
    Something like this (warning this is a fast change so review it):
    <#
    Installatiescript CIC Client SU6 32 bit (kantoor)
    Versie 1.3
    17 april 2015 - Uitbreiding logfile. Fix opschonen startmenu
    16 april 2015 - Aanpassing verwijderen oude client, logfile aanmaken in TEMP
    13 maart 2015 - Eerste versie
    #>
    If (!$PSScriptRoot) {
    $PSSCriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
    # Bepaal installatiebron
    #$SourceDir = "\\VSC0501\SetupShare\APP_IC_Client_SU6\x86"
    $SourceDir = $PSScriptRoot
    # Bepaal logvariabelen
    $logfile = "$env:TEMP\cic_su6-install.txt"
    $Logdate = get-date -f yyyyMMdd-HHmm
    # Controleer of oude CIC client aanwezig is (versie 4.04.316) en deinstalleer deze indien nodig
    If (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}")
    $val = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}").DisplayVersion
    if($val -eq "4.04.316") {
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed" | out-file $logfile -Append
    exit 1
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed - " $process.ExitCode | out-file $logfile -Append
    exit 1
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru).exitcode
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru).exitcode
    Get-ChildItem "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" | Remove-Item -Recurse
    Remove-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" -Recurse -Force
    else {
    Write-Output "$logdate - Client not present" | out-file $logfile -Append
    # Installeer CIC Client SU6
    $Arguments = "/i `"$SourceDir\ICUserApps_32bit.msi`" /l*vx `"$env:TEMP\cic_su6.log`" TRANSFORMS=`"$SourceDir\Kantoor.mst`" PATCH=`"$SourceDir\ICUserApps_32bit_SU6.msp`" ICSERVERNAME=cic.abvakabofnv.local /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 (kantoor) has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 (kantoor) cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit 1
    # Installeer CIC Client SU6 NL Language Plugin
    $Arguments = "/i `"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl.msi`" /l*vx `"$env:TEMP\cic_su6_nl.log`" PATCH=`"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl_SU6.msp`" /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit 1
    # Opschonen Desktop en Start menu
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Fax.lnk"
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Voicemail Player.lnk"
    Move-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Interactive Intelligence" "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV" -force
    Exit 0

  • AIR: allow scripted window.open popup windows for specified sites ?

    I'm adding desktop interaction to an existing webapp using AIR.
    The webapp allows portlets to be undocked into their own window using a scripted "window.open" call.
    When running the webapp in AIR, the "window.open" call is blocked (window ref returned is "undefined").
    Presumably AIR is detecting the invocation of "window.open" isn't directly linked to the mouse click event.
    With a "standard" browser, you can configure the popup blocker to allow popups for urls specified as Exceptions.
    Is there a way to do this in AIR ?  (either by config or by overriding one of the AIR classes).
    I've looked at using a custom HtmlHost but the popup blocking occurs before the HtmlHost.createWindow () call

    I couldn't find a way to customize the pop-up blocker in AIR.
    I tested the same thing with Safari 4.0.5 (AIR uses WebKit 4.0.3) and got the same result.
    After some testing I found that changing the Javascript to ensure that the event was bound to "onClick" fixed it (previously was bound to "onMouseDown")

  • Patching and auto installing SAPgui for Windows

    Hi,
    is it possibile to patch directoly SAPgui DVD installation with last released patch so we can install in one way SAPgui 7.10 and last patch ?
    is it possibile to install SAPgui with unattended installation and/or without desktop interaction ? ... or with our saplogon.ini settings ?
    Regards.
    Ganimede Dignan.

    Hi,
    SAP GUI has a Installation server option, You can install installation server, create a package with required components & patch it.  This package can be then extracted to a SELF EXTRACTING EXE, which can be installed on PC with minimal quesitons asked while installation.
    One problem with this is that, it does not check if Microsoft DOTNET component is installed or not, so you may end up having BI components not working.
    Regards,
    Guriq

  • WWI Installation

    Dear All,
    I am trying to Install WWI with EHS Management Server
    As per config guide
    a) Install EHSSTART.EXE as a service
    Host <Name of local PC>
    Name For example, EhsStart
    Display Name For example, EH&S Failure Recovery
    Executable path <WWI or Expert Bin directory>\EHSSTART.EXE
    Service Arguments
    User Account LocalSystem
    Service Type Own Process
    Desktop Interaction No
    Start Type Automatically
    Error Control Normal
    Service Dependency EventLog (generated automatically)
    Use event logging Yes
    Event logfile Application Logfile
    Event types Information, Warning, Error
    Message files <WWI or Expert Bin directory>\WIN32SVC.DLL <WWI or Expert Bin directory>\EHSSTART.EXE
    but to do all these activities, when I am executing EhsStart.exe Nothing is Happening..no sepra
    could you pleaes explain me how Install EHSSTART.EXE as a service
    Please guide me
    Thanking You
    Regards
    Amol

    Hello Amol,
    If any executable is not starting means either you dont have authorization, or not supported in the given OS  or there is a pending system boot or there is a dependency program which actually invokes this program.
    Now coming to EHSSTART.EXE as Windows Service, you need to start Services admin, which starts with SVc* and start entering the parameters as you described.
    You will find this executable in the same folder where you have installed WWI server.
    Thanks
    Jayakumar

  • SJAS 8.2 PE as Service on Windows 2003

    Hello all, running into a problem and I'm curious as to whether anyone else has seen it.
    I have installed SJAS 8.2 PE on a multihomed Windows 2003 server using default directories, no password prompting (it's a little intranet app), and I have followed Sun's procedure to use appservService.exe to wrap the AppServer in a Windows service. The application server starts from the command line and processes all requests normally. However when I attempt to start as a service (the app server is of course not running when I attempt this), I receive a "service-specific error code," which I presume is being returned by appservService.exe. If in the Service Properties I set the Logon to allow desktop interaction, the code returned is 9698848. If I turn that off, or select a different user to own the process, the code returned is 7077408. Are these numbers simply garbage, or is this useful information?
    Moreover, the Applcation Event Log contains, "executeCommand failed: Overlapped I/O operation is in progress". This error only appears when attempting to start as a service; when the application server is started from the command line, no complaints are registered in the Event Log or application server log.
    So the questions are:
    1. What does it mean when appservService returns 9698848 or 7077408?
    2. What I/O operation is "overlapping" when starting as a service, that does not overlap when starting from the command line?
    Thanks in advance for any advice you can give me.

    Nevermind! PEBKAC!
    For the record, if you omit the .bat in the "asadmin" arguments to appservService, the service control mgr returns those errors. How non sequitur.

  • Problem starting AIR app from windows server 2003

    Hello,
    I have an AIR app that I am trying to run using a c#
    webservice under Win 2003.
    I am starting the application process (air .exe file) as the
    "Network Service" user which has full-rights on the app-folder and
    app-working folder. The problem is that once with the applications
    the "Adobe AIR Updater.exe" process is starting to (using the same
    user N.S.) and both of the processes stop responding.
    I have tried to start the process as "Local Service" with
    "Desktop Interaction" too but unfortunately with no result.
    I must tell you that under XP and Vista it runs perfect...
    Is there any security issue related to win 2003 or any way i
    can start an air app from command line.
    Also i am interested why "Adobe Air Updater.exe" is starting
    ?

    Not sure about  copying eulaAccepted file from one location to another - that would really depend on which user account your service is running under.
    A better approach (IMHO), is to open the services window (My Computer | <right-click> | Manage, then navigate to Services and expand the tree) so you can see your service on the RHS.
    Stop your service, then inspect it's properties, select the 'Log on' tab, then check the checkbox which says "Allow system to interact with desktop". Apply the change, then restart your service.
    next time the AIR runtime prompts you to accept the EULA, the window will appear on the screen, so you can click "I accept".
    After accepting, reverse the procedure which allowed the service to interact with the desktop, and make sure that you have modified the registry to prevent AIR from updating as mentioned in:
    http://help.adobe.com/en_US/AIR/1.5/air_admin/WS5b3ccc516d4fbf351e63e3 d11c0f59823a-7ff0.html
    You should be all set.

  • EXEC xp_cmdshell

    Hi Guys,
    In SS 2008 r2 im trying to unpack a zip file trough the cmd.
    exec xp_cmdshell 'set PATH=%PATH%;C:\Program Files (x86)\7-Zip\
    echo %PATH%
    7z'
    go
    exec xp_cmdshell '7z e D:\Share\restorefile.bak.zip -od:\Share'
    go
    is there any way to get this working from SS? CMD keeps on telling that 7z is not recognized or the function e is not recognized. Code is going to be placed in a job that runs daily.

    First of all, have you verified that 7z.exe is strictly a command-line utility and does not have any desktop interaction? Because if it can pop up messages boxes, windows or whatever, this is a dead end and the rest of the discussion is moot.
    No, you should not add anything to PATH through the control panel. To that end you would need to change the path for the service account for SQL Server. And two years later when you move the database to a new server, you would have forgotten all about it,
    and wonder why things has stopped working.
    Eric's post has some errors. When you get that message in a command-line window it is typically because you have the double quotes wrong. Here is a corrected version of Eric's command:
    exec xp_cmdshell  '"C:\Program Files(x86)\7-Zip\7z.exe" x "D:\Share\restorefile.bak.zip" -o"d:\Share"'
    But as I don't have 7x installed, I cannot vouch for that it is entirely correct.
    And I stress again that you should consider alternatives. It is not the job of SQL Server to unzip files.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Howto avoid disk I/O?

    I hate when my disk spins up every 10 seconds just to write 28k and a 4k block (at least that's what dstat tells me).
    I use laptop mode tools (http://paste.pocoo.org/show/271842, hard disk settings begin on line 214), and I think I have configured it correctly.
    `touch a` makes my hard disk to wake up in ~ 7 seconds.
    I want it to wake up after, say, 5 minutes, if the amount of data is, say, < 3mb.
    Any tips?
    Last edited by dauerbaustelle (2010-10-06 18:10:37)

    assuming that you are not running whatever indexing/crap facilitating daemons: use syscals to fix vm.dirty_writeback_centisecs, dirty_background_ratio
    vm.dirty_ratio, vm.vfs_cache_pressure,
    you may consider I/O scheduler optimized for your fs,
    there are syscals specific for fs
    ext3/4 do a lot of stuff by default if not controlled
    properly set up should help with desktop interactivity and file transfer
    hope this will help

Maybe you are looking for

  • XML photo gallery Adding transition

    i will add some transition on this xml gallery code. Can i do that, if so how? var titleArray:Array = new Array(); var descriptionArray:Array = new Array(); var largeImageArray:Array = new Array(); var thumbImageArray:Array = new Array(); //this has

  • JavaFX2.0 Fallback to Prism SW pipeline !?

    What does this mean ? I get no error message only this text in the console. My app succesfully loads a dll and the app is working perfectly on my win7 prof. pc (jdk 1.624 javafx2.0 beta) However installing the same app on a winxp home pc, the dll app

  • On Interface show collisions?

    What is mean by display collisions numbers on interface of ASA Firewall? Thanks in advance..

  • How do I refresh apple tv with my photo library on my computer?

    How do I update apple tv when I add photos to my computer?

  • Wont burn--says blank disc is full

    Hi there, Having a problem with iphoto 5.04, trying to burn 446 meg of photos to a disc. When it asks for a blank disc (have tried 3) it comes up saying the disc is full and wont burn it. sound familliar? is there a way around this? am i missing some