Installing CuciMOC with a Batch File

I'm trying to get this thing to install with a batch file and Altiris.  What switches did you guys use on the msi?  What switches did you use on the exe?  Which would you use the msi or the exe? Why?
Thanks in advance!  I'm a batch file n00b. 

We lost our steam on this project because some other things came up.  I'll post what
we had before we stopped working on it:
echo Install Dot Net 3.5 SP1
"Z:\Software\Microsoft\Dot NET\3.5\dotnetfx35_SP1_Full.exe" /q /c: "install /l /qb"
echo Killing MS Outlook and OCS Communicator
taskkill /IM "iexplore.exe" /F
taskkill /IM "outlook.exe" /F
taskkill /IM "communicator.exe" /F
echo Copying CuciMoc
xcopy "Z:\Software\Cisco\CuciMoc\cucimoc-Install-ffr.7-1-3a\CiscoUCIntegrationTMforMicrosoftOfficeCommunicatorK9.msi" "C:\IT\CuciMOC\" /I
echo Installing CuciMoc
"C:\IT\CuciMOC\CiscoUCIntegrationTMforMicrosoftOfficeCommunicatorK9.msi" /qn
echo CuciMOC is installed
****From what the other guy said it doesn't install correct in our environment.  The install goes through then when you log in as admin it says that ocs must be closed, then you close it and it says it needs to be running and fails.  Haven't looked into it any further yet. Maybe the above will help for you.

Similar Messages

  • Install flash with a batch file

    good morning every one! i need some help.here's the hole
    thing.i made an unattended XP installation and i wtote this little
    batch file "start /wait flash9.exe /q" . i want to install the
    flash active-x after the finish of xp installation,when it starts
    for the first time the desktop. i tried many ways but no
    luck...does anyone knows how to do it? the process stops and i
    think that the desktop is not fully loaded when the batch
    runs....thanks for your attention!

    I don't know about formating around bad blocks, but I do know a thing or two about SS drives.  In my day job I design rugged computer systems that must withstand ridiculous vibration levels, as such we use SSDs.
    They are not trivial devices and do a substantial amount of internal house keeping.
    In general, they map logical blocks (the ones that are specified via the IDE interface) to physical locations in the drive.  They dynamically keep track of bad or worn out physical blocks and remove them from the logical to physical map. 
    Even more clever, they keep track of the write history to the physical blocks and perform automatic write leveling.  If a given portion of the drive is seeing excessive write cycles, while other areas never change, the controller will move the static data to the more worn area of the drive and the dynamic data to the areas that have less wear.  The map of logical to physical allocation is silently updated internally, and the external driver never knows it happened.
    Because of the write leveling, when a drive starts to fail due to wear out, you will find the whole whole drive quickly fails.
    Other considerations:  SSDs are VERY sensitive to loosing power during a write cycle.  The best way to corrupt a SSD is to power it down when it is performing a write or internal house keeping.
    When selecting a SSD, or any solid state storage (SD, USB Drive, CF, etc...) pick one that uses single level encoding.  This means it stores one bit of data per EE cell.  Multi level encoding uses analog techniques to put more than one bit per cell.  Good for storage density, BAD for data integrity and storage life.
    --Sorry
    Last edited by ewaller (2009-09-10 05:39:30)

  • Combine 2 PDF's with a Batch file?

    Hello Community,
    this is my first post, so please be patient with me - and sorry for my bad english.
    i want to edit and comine 2 pdf files automatically with an batch file or something else.
    i already have 2 pdf files, a delivery tracking label and a delivery ticket.
    the delivery label from the first pdf should place in the second pdf at the top.
    afer the process they should generate a third pdf an delete the other 2 pdfs.
    is that possible with an batch or vbs or something else?
    thank u in front - at the bottom in this post there is a link to the 3 pdf files.
    the delivery label
    the delivery ticket
    and the final pdf
    Directory Listing of /development/
    best reguards
    m.s

    Are this diferent documents? What version of Adobe Reader?

  • Running 10.4.11 and trying to restore OS9 as well as iLife etc. I tried to install iLifer from the original disc and the computer doesn't open the install program with the .mpkg file extension. Can you help?

    Running 10.4.11 and trying to restore OS9 as well as iLife etc. I tried to install iLifer from the original disc and the computer doesn't open the install program with the .mpkg file extension. Can you help?

    Hi Barbara,
    Try Pacifist...
    http://www.charlessoft.com/
    then extract/install what you need from your Install Disc.

  • Sqlplus commands from withing the batch files

    Hi,
    Oracle9.2
    need to execute the sqlplus commands from withing the batch files without calling the .sql file separately . How it can be done ?
    With Regards

    Hi,
    I agree with you...but as per your solution, after all you are calling the .sql file while connecting the sqlplus which I know already and I don't want to execute the sql commands like that as shown below.
    For example:
    for shut down the database and starting it again .sql files will be called as shown below
    Note: shutdown.sql file will contain simple database shutdown command.
    sqlplus -s "sys/%password%@%tnsname% as sysdba" @D:\shutdown_db.sql
    and again for restarting the db i will perform as below
    sqlplus -s "sys/%password%@%tnsname% as sysdba" @D:\start_db.sql
    But I want to get it executed directly from the DOS batch file.
    The thing is I want to execute this both the above database commands from the batch file itself without calling the .sql files separately as shown above.
    is it possible, so how it can be done ?
    Regards
    Edited by: user640001 on Feb 9, 2011 9:53 PM

  • RUNAS another user: assistance with my batch file for control panel and explorer

    Hello, for desktop support on end user or multi/generic user pcs it is nice to access common commands quickly from a batch file to run under your account. In xp both explorer and control panel apps launched without issues. The primary issue for explorer
    is it appears to ignore the runas command (but the user has permissions to explorer so no error) while the control panel apps ignores run as well but does not have permissions so generates an error. The other commands all execute as the attempting admin's
    account.
    who it is for: the user with the admin account to execute on the user's desktop whom is a nonadmin
    **please note, the commands appear to work if you do have admin rights**, the logged in user does not  have admin rights to these utilities like in a common corporate environment.
    "windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item."
    Issue#1:
    With win7 if you do a run as for explorer.exe via batch it will open, but will still be running under the signed in user. I have searched many threads on various sites and have not found a working solution for batch, this may be something I need to retire.
    Issue#2: all control panel applets fail to launch through various methods.
    SECTIONS THAT I AM STRUGGLING WITH:
    runas /user:%auser%@DOMAINNAME "explorer.exe /separate"
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl"
    "cmd /c start appwiz.cpl" also fails
    alternative also fails:
    runas /user:%auser%@chwi "cmd /c Start /B control.exe"
    cls
    @ECHO OFF
    set /p auser= Enter your account login id:
    :MyMenu
    CLS
    Echo Use the options below to run as with your admin account id:
    echo.
    ECHO 1 - Explorer C:\ - may not work with win7
    ECHO 2 - Device Manager
    ECHO 3 - Event Viewer
    ECHO 4 - Services
    ECHO 5 - Computer Management
    ECHO 6 - REGEDIT
    ECHO 7 - Command prompt
    ECHO 8 - Local Users and Groups
    echo 9 - launch task manager
    ECHO a - Control Panel - may not work with win7
    Echo b - Add/Remove programs - may not work with win7
    Echo 0 - Exit
    echo.
    SET /P OPT=Please make a selection, and press enter:
    if %OPT%==1 GOTO OPTION1
    if %OPT%==2 GOTO OPTION2
    if %OPT%==3 GOTO OPTION3
    if %OPT%==4 GOTO OPTION4
    if %OPT%==5 GOTO OPTION5
    if %OPT%==6 GOTO OPTION6
    if %OPT%==7 GOTO OPTION7
    if %OPT%==8 GOTO OPTION8
    if %OPT%==9 GOTO OPTION9
    if %OPT%==a GOTO OPTIONa
    if %OPT%==b GOTO OPTIONb
    GOTO exit
    :OPTION1
    ECHO Executing Explorer C: window
    echo.
    runas /user:%auser%@DOMAINNAME "explorer.exe /separate"
    GOTO:mymenu
    :OPTION2
    ECHO Executing Device Manager
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B devmgmt.msc"
    GOTO:mymenu
    :OPTION3
    ECHO Executing Event Viewer
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B eventvwr.msc"
    GOTO:mymenu
    :OPTION4
    ECHO Executing Services
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B services.msc"
    GOTO:mymenu
    :OPTION5
    ECHO Executing Computer Management
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B compmgmt.msc"
    GOTO:mymenu
    :OPTION6
    ECHO Executing regedit
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B regedit"
    GOTO:mymenu
    :OPTION7
    ECHO Executing command prompt
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B cmd"
    GOTO:mymenu
    :OPTION8
    ECHO Executing Local Users and Groups
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B lusrmgr.msc"
    :OPTION9
    ECHO Executing task manager
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B taskmgr.exe"
    :OPTIONa
    ECHO Executing control panel
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B control.exe"
    :OPTIONb
    ECHO Executing add/remove programs
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl"
    GOTO:mymenu
    GOTO EXIT
    :EXIT

    You guys I appreciate the feedback but please read my entire post and help if related, this is getting a bit frustrating.
    a. I am not developing a powershell solution or "how do I launch them via command prompt" that is well known. The goal is to create an easy to use "run as helper" script for those that are not as savvy or do not have the commands memorized.
    Even so many of your suggestions do not work because the user logged in does not have admin rights and the commands are blocked because of this restriction.
    b. This is for the batch file in question, NOT "how do I launch command prompt as an admin"
    c. Again, several options work, several do not (network connections and programs and features do not) must likely due to same limitations as explorer.exe or UAC
    d. this is not "how do I launch the utilities by command line" it is "how do I launch them as the admin WHEN the current user does not have admin rights". The entire script works on a pc if you have admin rights because its launching
    it instead AS the current user, in that case the current user has admin rights therefore it doesnt reproduce the issue.
    e. running by control.exe using the app name or with cpl does not resolve the issue.
    f. I did not post that command prompt is having issues launching, I wrote a couple times that the options in my script do work such as command prompt. Even if you launch command prompt you cannot launch programs and features or network connections with your
    admin account with or without an additional runas command.

  • Alternate Shell with specified batch file

    Hi there,
    I've created a set of scripts for my computer lab which, per a scheduled task, reboots the computer into safeboot with the alternate shell enabled (via bcdedit). It also sets the machine to auto-login (via registry keys).
    Then it runs a couple of malware scans, and whatever other clean-up tasks I want.
    Now, I'm wanting to pass a script to be executed by the cmd.exe shell (i.e. the 'alternate' shell), but it seems no matter what syntax I use, it doesn't want to parse anything after the cmd.exe in the registry.
    e.g.
    batch file syntax, with executable in QMs and parameters un-quoted:
    HKLM\System\CurrentControlSet\Control\SafeBoot\AlternateShell : "cmd.exe" /C C:\labUtilities\***.bat
    Fully-quoted:
    HKLM\System\CurrentControlSet\Control\SafeBoot\AlternateShell : "cmd.exe /C C:\labUtilities\***.bat"
    Fully un-quoted:
    HKLM\System\CurrentControlSet\Control\SafeBoot\AlternateShell : cmd.exe /C C:\labUtilities\***.bat
    Does anyone have experience with passing parameters to via the AlternateShell key?
    I know for a fact this is possible, as I've seen it done by malware; I just can't remember the syntax it used.
    Thank you!

    i think it should be:
    CMD /c "C:\labUtilities\***.bat" under normal circumstances, not sure if this will work out of the registry.
    source: http://ss64.com/nt/cmd.html
    Kind regards, Philipp - Solid IT Solutions

  • Can I close Firefox and Plugin-container with a batch file? ANSWER: Yes. SOLUTION below.

    Steps to create batch file to End process tree: "Firefox.EXE"
    1. create new .txt file
    2. copy/paste the following: taskkill /IM firefox.exe
    3. Save
    4. Rename the txt file - EndFirefoxTree.bat
    5. Run from desktop at any time, give it a cute icon if you'd like!.

    This works well although user will need to put the .bat file in Documents and create a shortcut to desktop in order to change the icon (of the shortcut).

  • Remote oracle 10g r2 Connection test with either batch file or perl

    Hi,
    I want to know if my remote oracle 10g server on Windows 2003 server is up and running through either batch file or perl script or vbscript. The system from which I want to run the script do not have oracle client. How can I do this?
    Thanks in advance
    vivek

    I also got the same proble for EM. Any solution found?
    [email protected]
    Thanks

  • How to create directories with a "batch" file

    Hi,
    This may be a no brainer for you wizards out there.
    I have a text file with several hundred lines in it. Each line contains the name of a directory I'd like to create.
    I'm hoping there's a way to prepend something like "mkdir" to each line and then "execute" the file from a terminal window to create all these directories for me.
    Anybody got any ideas?
    Thanks!

    Unix, Shell, and Terminal questions are best asked in the Mac OS X Technologies Unix forum.
    <http://discussions.apple.com/forum.jspa?forumID=735>
    In the mean time:
    while read dir
    do
    mkdir -p "$dir"
    done <filecontaining_list_ofdirectories

  • Install ArchLinux with a badblocks file?

    I have an SSD that seems to be degrading quite gracefully, the whole drive isn't dead I'm just getting a lot of bad blocks, the rest are still readable.
    What would I need to do, to get the Arch Installer to avoid bad blocks, and also possibly format partitions around bad blocks?  I know it's not "recommended" - unfortunately I bought this EEE 900a used, and it seems whoever, did whatever on it - and they didn't turn off logging, or something, and it got majorly burnt on the writes (how in the hell someone uses up that many writes on an SSD in the course of a year or less is beyond me)
    Do I just need to create my /boot partition in a known good area, and my / as the rest of the drive? - How do I get the installer to avoid the bad blocks?...or even get the installer to make the file system around the bad blocks?
    Pardon me if 1/2 of the terminology I'm using is incorrect or w/e - correct me, and if possible, help me
    I understand my options of installing to an SD card, etc but I'm broke as a joke and don't own anything of the sort.
    Last edited by thantik (2009-09-09 23:43:15)

    I don't know about formating around bad blocks, but I do know a thing or two about SS drives.  In my day job I design rugged computer systems that must withstand ridiculous vibration levels, as such we use SSDs.
    They are not trivial devices and do a substantial amount of internal house keeping.
    In general, they map logical blocks (the ones that are specified via the IDE interface) to physical locations in the drive.  They dynamically keep track of bad or worn out physical blocks and remove them from the logical to physical map. 
    Even more clever, they keep track of the write history to the physical blocks and perform automatic write leveling.  If a given portion of the drive is seeing excessive write cycles, while other areas never change, the controller will move the static data to the more worn area of the drive and the dynamic data to the areas that have less wear.  The map of logical to physical allocation is silently updated internally, and the external driver never knows it happened.
    Because of the write leveling, when a drive starts to fail due to wear out, you will find the whole whole drive quickly fails.
    Other considerations:  SSDs are VERY sensitive to loosing power during a write cycle.  The best way to corrupt a SSD is to power it down when it is performing a write or internal house keeping.
    When selecting a SSD, or any solid state storage (SD, USB Drive, CF, etc...) pick one that uses single level encoding.  This means it stores one bit of data per EE cell.  Multi level encoding uses analog techniques to put more than one bit per cell.  Good for storage density, BAD for data integrity and storage life.
    --Sorry
    Last edited by ewaller (2009-09-10 05:39:30)

  • Problem with .cmd/batch file, while scheduling RMAN backup

    I am running Oracle 10g on Windows. I Have written RMAN Backup script & saved it as .cmd file. Now i will schedule this via AT utility on windows. While i try to run this .cmd file then after starting RMAN it does nothing, neither RMAN gets connected to target database nor backup gets started. What may be the problem??
    Contents of .cmd file are like this:-
    RMAN target 'sys/manager@test'
    backup database include current controlfile;
    backup archive log;
    Message was edited by:
    user648257
    Message was edited by:
    user648257

    RMAN target 'sys/manager@test'
    backup database include current controlfile;
    backup archive log;will not work. You are passing 3 different commands to the Windows command interpreter. CMD executes the first command 'RMAN target ...@test" and waits for it to complete before it will proceed to attempt to execute the "backup database".
    That is, the "backup database" command isn't being passed to RMAN at all.
    You should put the two "backup" commands in a script file (as you would do for an SQLPlus script file) -- eg backup.rmn and execute it with rman
    eg
    rman target 'sys/manager@test'  @backup.rmn

  • How to combine offscrub vb script with batch file

    Hello all,
    I am trying to upgrade from Office 2010 to Office 2013, but Office 2013 does not completely remove all of Office 2010 and Visio 2010, so I want to use the offscrub vb script from this article (
    http://blogs.technet.com/b/odsupport/archive/2011/04/08/how-to-obtain-and-use-offscrub-to-automate-the-uninstallation-of-office-products.aspx) to first remove office 2010, Visio2010, and Project. I already extracted the offscrub vb script. How can I combine
    the offscrub vb script with a batch file I created to silently install office 2013, so that after offscrub is finished running, the office2013 install would begin? I would like to apply the file via GPO. Or if there is away that one file calls the other. 
    I would appreciate any help you can provide.
    Thank you

    Yes - that is not GP Software Distribution.  It is a very flakey method as you are finding out.  I highly recommend posting in the Office 2013 administration forum for assistance.  There are many 'gotchas".
    The problems will come as a result of needing to remove 2010.  If 2010 is a trial version or an expired license you will have many issues.  Also the build of the MSP needs to be manged correctly.
    I would add the uninstall script to the MSP package and make it a dependency or try and build an MSI to run the uninstall script using Software Distribution or run it independently and be sure you get a reboot before you attempt to do the install. 
    The Admins in Office 2013 forum will have many bits of experience that you will not likely find here or not find as readily.
    Good luck.
    ¯\_(ツ)_/¯

  • Post-Install Batch File Won't Run

    Ok here's the deal. I have created an application that needs a little "cleanup" after the installer finishes. To handle this operation, I created a batch file and told the LV installer to run it after the installation. This works fine on every computer I have tried it on ---
    Except One
    Thinking that there might be a problem related to the commands themseloves, I added echos to a log file to save any errors that might occur and to save basic information like paths. However on that ONE computer I don't get the log file even being created, which says to me that the batch is not being executed. However, If I go to the installation direcctory and run it manually, it runs, it does what it is supposed to do and it  stops.
    The computer this happens on is a corporate laptop that is configured interms of security and permissions like every other corporate laptop. 
    I am officially confused. Any ideas? WAGs? Suggestions? Recommendations? 
    Mike...

    I remember years ago when this feature first came out I tried it with a batch file and I thought it didn't work, and that it only supported running an EXE not thing else.  Since then they apparently fixed that.  So my only suggestion is maybe to try to run an EXE instead of a batch file?  Of course it sounds like it is working on other machines so I doubt that is it.
    What about UAC?  You say it is a corporate machine so I doubt you can, but maybe lower the UAC to nothing and see if it works.  Of course if it doesn't that probably isn't a good solution.
    Anti-virus running?  Some have a log of the things it blocks, and it might list the fact that it prevented a batch file from running.
    The only time I ever used this feature on an EXE I don't remember it not running on the dozen or so PCs I used it on.

  • Run Batch file using GPO in all users with Windows 2008 R2

    Dear Sir,
    We have to install one software packages in all laptops using GPO. we have batch file and using this we can install software.
    is there any way to install automatic by this batch file?
    this is not msi packages.
    Regards,
    Sunil 
    SUNIL PATEL SYSTEM ADMINISTRATOR

    > Please provide how to configure...
    https://technet.microsoft.com/en-us/magazine/dd630947.aspx
    https://technet.microsoft.com/library/cc779329.aspx
    Greetings/Grüße,
    Martin
    Mal ein
    gutes Buch über GPOs lesen?
    Good or bad GPOs? - my blog…
    And if IT bothers me -
    coke bottle design refreshment (-:

Maybe you are looking for

  • ID3 tags that look fine in iTunes are ungood on the iPod touch

    I've got 60,000-plus MP3 tracks, collected over a decade, that were encoded by a variety of apps on Macs and PCs. The tracks look OK in iTunes on a Mac, but on an iPod touch, many songs are missing artwork, and others display the lyrics in garbled "m

  • Errors occur during installing CS6 master collection

    我安裝CS6 master collection 時,出现以下錯誤訊息,應如何處理??  我的系統是win8 Exit Code: 6 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DR012, DW050 ... WARNING: DF029, DW066 ... -------------------------------------- Summary ----

  • Weird view on iTunes that wasn't there before

    I opened iTunes today and instead of just the list of my songs in my play list, it had the list but it wasn't filling up the whole area, it was kind of made smaller and then it said iTunes store below it. How do I get rid of this? I didn't have it li

  • IDVD 4.0.1 quits when burning using Tiger

    I have been using iDVD for years and it has worked perfectly for all of that time. I recently upgraded to the new Tiger OS and since then I have been having problems. I have a flat panel iMac with a 800 MHz G4 processor & 758 MB of RAM. Every time I

  • Is my installation of InDesign CS6 version 8.0.2 malfunctioning?

    I cannot get anything to happen from the Align panel (Window>Object&Layout>Align). My two objects will not align, the check boxes will not become checked, the alignment menu will not appear. I am a beginner and this is the first time that I have used