Can we install CPO in silent mode through command prompt or batch script ?
Though it is easy way to install cpo using GUI.
my need is to install through cmd or script
can any one pls help...
Thanks in Advance
It is not supported at this time. I believe it will be around in 3.1... but that's out in the future. Von or Svetlana might be able to give more insight.
CPO install is pretty quick, are you trying to do mass installs or something?
Similar Messages
-
Start weblogic server in debug mode through command prompt
Hi,
Please help me in starting the weblogic server in debug mode through command prompt.I am using weblogic 10.3.6 app server.
ThanksHi,
To debug weblogic startup issues you can pass the below jvm arguments:
-Dweblogic.slc=true
-Dweblogic.debug.DebugServerLifeCycle=true
Debug options are available in weblogic based on the subsystem, such as security, jms, jdbc, deployment..etc
You can refer to :
https://blogs.oracle.com/vijaya/entry/weblogic_web_service_debug_flags
Thanks,
Sharmela -
How Can I install Framemaker 10 silently with serial key and license updater?
How Can I install Framemaker 10 silently with serial key and license updater? Is there any tool to create MSI for this?
I tried with using http://download.macromedia.com/pub/developer/creativesuite/AAMEE/win32/ApplicationManagerE nterprise_1_all.exe and its not supporting.
I am looking for any customization tool for Framemaker 10 from Adobe or else silent install with serial and license updaterAfter creating "application.xml.override" from above link
First after installing manually Adobe Framemaker 10,Copy "pcd.db" to your source folder from "%ProgramFiles(x86)%\Common Files\Adobe\Adobe PCD\" once you run "LicenseUpdater.exe"
1) For install create batch file "install.bat" and copy below command
@echo off
REM =====Install script=====
set Current=%~dp0
"%Current%Set-up.exe" --mode=silent --deploymentFile="%Current%\deploy\AdobeFrameMaker10_en_US.install.xml" --overrideFile="%Current%\deploy\application.xml.override" --acton=install
COPY /Y "%Current%pcd.db" "%ProgramFiles(x86)%\Common Files\Adobe\Adobe PCD\pcd.db"
Exit 0
2) For Uninstall
* download Adobeairinstaller from Adobe - Adobe AIR to uninstall adobe AIR silently and copy this exe in source folder
Create batch file to uninstall Framemaker 10 "Uninstall.bat" and copy below command to Uninstall
@echo off
REM =====Uninstall script=====
set Current=%~dp0
REM Uninstalling "Adobe Framemaker 10"
"%Current%Set-up.exe" --mode=silent --deploymentFile="%Current%\deploy\AdobeFrameMaker10_en_US.remove.xml" --overrideFile="%Current%\deploy\application.xml.override" --acton=uninstall
DEL /F /Q "%ProgramFiles(x86)%\Common Files\Adobe\Adobe PCD\pcd.db"
REM Uninstalling Adobe community help
msiexec /x {E2B04924-29F3-F49D-71E9-B90EFEDE282C} /qn
REM Uninstalling Adobe PDF creation Add-On 9
msiexec /x {AC76D478-1033-0000-3478-000000000004} /qn
REM Uninstalling Adobe AIR
"%Current%AdobeAIRInstaller.exe" -uninstall
Exit 0
I think this will help.... -
Need to install JRE in Linux in silent mode (have to give yes to license agreement with no user intervention). I tried the following ways
1. In Shell Script : expect -re "Do you agree to License"
Send - yes/r
2.. Ran from command line: /jre.bin -acceptlicense=yes
3. Ran from command line : ./jre.bin -silent
Above options did not work, let me know whether we have any other option ?On your oracle installation CD , there will be directory disk1/stage/response .. In this directory you can find the response file that can be used for installation. Just edit the file to provide the values for ORACLE_HOME , ORACLE_SID , Type of Installation into it. Setup the env for ORalce installation . After creating the necessary directories and preparing the operating system for installation , You can use the following command to install Oracle in Silent mode.
./runInstaller -silent -responseFile /disk1/media/response/10gR2.rsp -
Install JRE in silent mode using batch script
hi,
i hav developed a java application which i want to run on another pc where jre is not available. i want to install jre along with my java application by using batch script.
please give the sample script code so that i can execute batch script on client machine.( i am currently using jre 1.6).
Thanks in advance,
Prashant.It is not supported at this time. I believe it will be around in 3.1... but that's out in the future. Von or Svetlana might be able to give more insight.
CPO install is pretty quick, are you trying to do mass installs or something? -
How to install adobe flash player through command line with some script
Hi Guys,
Do you know how to install adobe flash player through command line with some script?
Thanks,
GalinaWindows. I tried silent install with "install_flash_player.exe /install" but it works only with one file that I downloaded from adobe.com - "install_flashplayer10_mssd_aih.exe". But it is possible to download this last file only one time, every next time it redirects me to download install_flash_player.exe file.
-
Thinkpad W500, Win7Pro. Can't login: "the referenced account is currently locked out and may not be logged on to". I need to boot to safe mode with command prompt to enable the Administrator account (disabled by default) with a "net user administrator /active:yes" command, but Lenova has their own recovery and interfaces which are preventing me from accessing with normal windows techniques. I either need to be able to get a command prompt on the true C: drive, or reset this lockout situation, and fast... Waiting more than 180 minutes did not work, and using system restore is not an option-key software patches and additions make this very unattractive, and I know how to do that.
Optional Information:
Computer OS: Windows 7
Browser: IE
Already Tried:
-ThinkVantage button (reg and advanced views) -a boot disk for pwd reset program (I know password, but I am locked out - didn't help) -F8, Repair options and all safe modes -NOT system restore, as we are trying to not undo months of software revisions - we just need to login!If we take the error messages seriously, then probably the first thing that you would have to do would be to replace the malformed library:
/System/Library/Frameworks/Security.framework/Versions/A/Security
If you have another computer with the same operating system, you could connect via target disk mode and copy over the good library to replace the bad one. I don't know if this library is different between 10.2.6 and 10.2.8. If the library were fixed, that might solve your other problems and it might not. There is no way for us to know.
Alternatively, you could do an archive and install. -
Can we deploy a mapping through Command Prompt
Can we deploy a mapping through Command Prompt. If so pls tell me how
Thanks in AdvanceHi,
when deploying mappings from the coomand line or when i try to run some other script in OMBPlus i usually do the following:
* Create a .bat file that will call your tcl script it will look something like this:
rem @echo off
cd <owb_install_dir>\owb\bin\win32\
rem your script file
call OMBplus "<path to your script>\scripts\DeployMapping.tcl"
cd <path to your script>\scripts\
* Create a .tcl file that will do the following:
OMBCONNECT <user>/<passowrd>@<server name>:<port>:<Service Name>;
OMBCC 'MY_PROJECT';
#Deploy Mapping
OMBCONNECT CONTROL_CENTER <control_center_username/control_center_password>@<server name>:<port>:<service name> USE REPOS '<design repository user>';
set om "<sub_location>";
OMBCC '$om';
set m "Mapping Name";
puts " Deploying Mapping: $m";
puts "";
OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$m' ADD ACTION 'MAPPING_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('REPLACE') SET REFERENCE MAPPING '/MY_PROJECT/$om/$m';
catch { OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$m' } ex;
puts " $ex";
OMBDROP DEPLOYMENT_ACTION_PLAN '$m' ;
OMBDISCONNECT CONTROL_CENTER;
OMBCOMMIT;
For more information refer to the OMBPlus reference documentation
Hope this helps
Regards,
Ricardo Ferreira -
Error to execute the script through command prompt
I tried to execute the script through command prompt. I got some following error. Could you please advice me how to rectify this.
cscript D:\JS\Test.js
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
D:\JS\Test.js(1, 1) Microsoft JScript runtime error: 'app' is undefined.
Thanks,
PrabudassI haven't use CS for quite some time and file associations may not work with the command prompt.
You can try using Windows Explorer to browse to a .js file then right click on that file. From the popup menu choose Open With. Even if you see Photoshop in the file list choose Browse at the bottom. Browse to Photoshop and make sure to check 'Always use selected program...'
If that doesn't work you will need to create an action that runs your script and make a droplet from that action. You can then use the droplet in the command prompt. You may also need to create a 'dummy' image file to launch the droplet with if you script doesn't require an open document at startup. See http://www.ps-scripts.com/bb/viewtopic.php?t=967 -
How to call the javascript through Command prompt?
I need to call the .js file through command prompt. And also through programming language like c++, java. Could you please advice me with samples.This is for "illustrator cs".
You can also look into use of COM scripting interface to the Adobe programs. Unfortunately, this means you have to do some programming/scripting to create a (command line) script that you can execute like
cscript C:\somePath\myScriptLauncher.vbs C:\somePath\anAdobeScript.jsx
or
cscript C:\somePath\myScriptLauncher.js C:\somePath\anAdobeScript.jsx
the scripts can be written in VBScript (*.vbs) or Microsoft JScript (*.js) which can access COM objects thus the Adobe program's COM APIs.
Nothing purely simple as a command line option in this solution. But it does offer customization as an advantage.
This might be a slightly useful reference.
http://stackoverflow.com/questions/3846626/is-it-possible-to-execute-jsx-scripts-from-outs ide-extendscript
there's one post mentioning COM in there.
And of course, you can also use COM through C++, Java, C#, Visual Basic, etc. as well, not restricted to VBScript and JScript, though I've found it's easier to use the latter two for COM. -
Run the report through command prompt on Linux
can anyone tell me how can run report through command prompt (Reort server is on Linux)?
that thing I want to implement in form calling report.
Please guide about it..hi,
There is a lots of documents available in the Internet for the same.
Regards,
Soumyajit -
How to check all subsites data through command prompt
I am using MOSS 2007 ,we don't have powershell, I have to check the size of all subsites size. I run the command in command prompt
C:\programfiles\commanfiles\microsoftshared\webserverextensions\12\BIN>stsadm -o enumsubwebs -url
http://abc.xyz.com
I got all subsites urls, but i need all url's size also. How to do through command prompt?Hi Ravikiran,
The codeplex solution is a custom solution built using SharePoint Server object model, you can download the code also from the following location.
http://spusedspaceinfo.codeplex.com/releases/view/20413
The following is the code from the above project.
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.IO;
using Microsoft.SharePoint;
using System.Diagnostics;
using Microsoft.SharePoint.Administration;
using System.Collections.Generic;
namespace SPUsedSpaceInformation
class Program
static void Main(string[] args)
SPFarm farm = SPFarm.Local;
SPWebService service = farm.Services.GetValue<SPWebService>("");
Console.WriteLine("Select a Web Application:");
Console.WriteLine("-------------------------");
int n = 1;
List<Guid> webAppIds=new List<Guid>();
foreach (SPWebApplication webApplication in service.WebApplications)
Console.WriteLine(string.Format("{0}) {1}", n, webApplication.DisplayName));
webAppIds.Add(webApplication.Id);
n++;
int quit=n;
Console.WriteLine(string.Format("{0}) Quit",n));
Console.WriteLine("? ");
int choice1 = 0;
while (true)
string choice2 = Console.ReadLine();
if (int.TryParse(choice2, out choice1))
if (choice1 > 0 && choice1 < quit)
SPWebApplication webApplication = service.WebApplications[webAppIds[choice1 - 1]];
Console.WriteLine("Select a Site Collection:");
Console.WriteLine("-------------------------");
n = 1;
foreach (SPSite site in webApplication.Sites)
Console.WriteLine(string.Format("{0}) {1}", n, site.Url));
n++;
quit=n;
Console.WriteLine(string.Format("{0}) Quit",n));
Console.WriteLine("? ");
choice1 = 0;
while (true)
choice2 = Console.ReadLine();
if (int.TryParse(choice2, out choice1))
if (choice1 > 0 && choice1 < quit)
SPSite siteColl = webApplication.Sites[choice1 - 1];
DataTable tableStorage = siteColl.StorageManagementInformation(SPSite.StorageManagementInformationType.Document, SPSite.StorageManagementSortOrder.Decreasing, SPSite.StorageManagementSortedOn.Size, 0xf4240);
Hashtable ht = new Hashtable();
foreach (DataRow dr in tableStorage.Rows)
if (ht[dr["WebUrl"].ToString()] == null)
ht[dr["WebUrl"].ToString()] = (double)dr["TotalSize"];
else
ht[dr["WebUrl"].ToString()] = ((double)ht[dr["WebUrl"].ToString()]) + ((double)dr["TotalSize"]);
string folderPath = string.Concat(new object[] { Directory.GetCurrentDirectory(), Path.DirectorySeparatorChar, "Listings" });
if (!Directory.Exists(folderPath))
Directory.CreateDirectory(folderPath);
using (StreamWriter writer = File.CreateText(string.Concat(new object[] { folderPath, Path.DirectorySeparatorChar, "SitesListingsUsage", DateTime.Now.ToString().Replace("/", "-").Replace(":", "-"), ".csv" })))
foreach (string key in ht.Keys)
writer.WriteLine(string.Format("{0};{1}", key, ht[key].ToString()));
SPWeb currentWeb = siteColl.RootWeb;
using (currentWeb)
using (StreamWriter writer = File.CreateText(string.Concat(new object[] { folderPath, Path.DirectorySeparatorChar, "SitesListingsInfo", DateTime.Now.ToString().Replace("/", "-").Replace(":", "-"), ".csv" })))
string separation = string.Empty;
ListWebs(currentWeb, separation, writer);
Console.WriteLine("Press a touch to quit...");
Console.ReadLine();
Process.Start(folderPath);
return;
else if (choice1 == quit)
return;
else
Console.WriteLine("? ");
else
Console.WriteLine("? ");
else if (choice1 == quit)
return;
else
Console.WriteLine("? ");
else
Console.WriteLine("? ");
private static void ListWebs(SPWeb Web, string Separation, StreamWriter Writer)
string ownersMail = string.Empty;
SPGroup ownerGroup = null;
ownerGroup = Web.AssociatedOwnerGroup;
if (ownerGroup == null)
foreach (SPRoleAssignment roleAssignment in Web.RoleAssignments)
if ((roleAssignment.Member is SPGroup) && roleAssignment.Member.Name.ToLower().Contains("owner"))
SPGroup group = (SPGroup)roleAssignment.Member;
foreach (SPUser user in group.Users)
if (!string.IsNullOrEmpty(user.Email))
if (string.IsNullOrEmpty(ownersMail))
ownersMail = user.Email;
else
ownersMail = ownersMail + "," + user.Email;
break;
else
foreach (SPUser user in ownerGroup.Users)
if (!string.IsNullOrEmpty(user.Email))
if (string.IsNullOrEmpty(ownersMail))
ownersMail = user.Email;
else
ownersMail = ownersMail + "," + user.Email;
string accessRequestMail = string.Empty;
if (Web.RequestAccessEnabled)
accessRequestMail = Web.RequestAccessEmail;
string authorMail = string.Empty;
try
authorMail = Web.Author.Email;
catch { }
Writer.WriteLine(string.Format("{0};{1};{2};{3};{4};{5};{6}", new object[] { Web.Title, Web.Url, authorMail, Web.Created.ToString(), accessRequestMail, Web.LastItemModifiedDate.ToString(), ownersMail }));
Console.WriteLine(string.Format("{0};{1};{2};{3};{4};{5};{6}", new object[] { Web.Title, Web.Url, authorMail, Web.Created.ToString(), accessRequestMail, Web.LastItemModifiedDate.ToString(), ownersMail }));
foreach (SPWeb childWeb in Web.Webs)
ListWebs(childWeb, Separation + "--", Writer);
Please don't forget to mark it as answered, if your problem resolved or helpful. -
How to print a PDF document in duplex mode using command prompt?
I want to print a pdf document in DUPLEX mode by command prompt.Already tried with /p and /t.
Hello Ram,
Please see this link - http://www.coolutils.com/Print-PDF-duplex-cmd
~Deepak -
How can we write the code for opening the command prompt and closing the
how can we write the code in java for opening the command prompt and closing the cmd prompt from eclipse (cmd prompt should close when click on the turminate button in eclipse)
rakeshsikha wrote:
how can we write the code for opening the command prompt and closing theBy typing in Eclipse (which you seemingly have)? -
Hi,
untill now i have used NetBeans for developing javafx applications,
i want to know how to run javafx applications through command prompt.
what are the requirements?
which environment variables to be set?
and commands to compile and run javafx applications?
thank you.There are some detail steps to run your javafx from command line.
Firstly Create new file with some javafx source code and save them to specific to your Class name . For eg Test.java with package name test
Let's assume my javafx is inside C:\Program Files\Oracle directory
I'll tell you in environment of Window:
Open CMD
Let's assume you are in right directory
set JAVAFX_LIB = C:\Program Files\Oracle\rt\lib\jfxrt.jar
javac -cp "%JAVAFX_LIB%" -d . Test.javaNow goto directory of javafx sdk/bin . There must be javafxpackager.exe
javafxpackager -createjar -srcdir <your src dir> -appclass test.Test -outfile <your file name>.jar -outdir <your output dir>Now run the jar file . It will run great.
Thanks
Narayan
Maybe you are looking for
-
OS- Windows 7 Upgraded from Firefox 3. I tried updating to FF 4 a while ago and had the same problem, so I went back to 3. Decided it was time to upgrade and the problem recurred. Please help!
-
My laptop had a few problems and it had to be reset to factory settings. Meaning my iTunes was wiped clean and I had to reinstall it. My previous iTunes (and current iPod nano) has 13 playlists, over 2000 songs and a record of plays going back 2 year
-
Hi guys, I have an issue where everything shows up correctly on FF, but when I load it on IE7 none of the spry data shows up. I've tried everything I can think of and looked on the forum for similar issues but couldn't find anything. I would really a
-
the itunes 10.6.3 willl not download on my windows 7 computer. it just goes to itune store and nothing happens
-
Hi all, I work on a web application that, among others, generates Pdf documents. It renders them directly within the IE window by "streaming" the content of the Pdf in the response output stream. Note that we also add the header "Cache-Control", "no-