Command line uninstall string
Does anyone know how to uninstall Oracle 10g client via command line or a way to get Oracle to show up in add/remove programs?
I know it can be uninstalled via the Universal Installer and it doesn't put an entry in add/remove programs. My client wants an entry to show up in add/remove programs. I know I can put an entry into the registry to get it to show up in add/remove programs. I just need an uninstall string to put into the registry so the "remove" button will actually work. Can anyone provide me with an uninstall string or is there another way to get it to show up in add/remove programs without it?
Similar Messages
-
SQL Server 2008 R2 - Cannot remove 50th instance with command line uninstall
I have reached the 50 instance SQL Server limit on my Microsoft Server 2008. I have tried to remove an existing instance using the command line below but it still is reporting that "No more transforms are available because the maximum 50 has been
reached." and the uninstall is hanging on Select Features. Some of the instances on this server are for SQL Server 2008 and some are for R2. Where do I go from here?
"C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\setup.exe" /Action=Uninstall /FEATURES=SQL /INSTANCENAME=myinstance"C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\setup.exe" /Action=Uninstall
/FEATURES=SQL /INSTANCENAME=myinstance /Q
Try this..
/Q = Quite Mode..
Chetan ================================================================== ================================================================ This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to
click "Mark as Answer" and "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread. -
Uninstall string/command for Adobe LiveCycle Designer 8
I would like to uninstall, via a command line/uninstall string, the Adobe LiveCycle Designer 8 package on multiple PCs. Can someone provide me with this information? I see there is a manual uninstall through the add/remove programs, but this is not an option. It came packaged with our Adobe Acrobat 8 Professional software.
Thanks.Hi Markus,
Thank you for reply.
I dont have SAP GUI Installation DVD with me. I am a developer who is supporting SAP Web Dynpro Application installed at client side.
Is there any other way to find this installation?
And on SAP GUI DVD, can you tell me its location?
Thanks and regards,
Amey -
Hey there,
I have a program that uses a command line argument at runtime to get a txt file which is then loaded into my program.
c:\>java FileName infile.txt
I want to catch what args[0] is so I can print the file name the user entered to the screen when the program is running(so grab the infile.txt). Does anyone know what object I use to do this? Have I made sense?
Thanks
DaveYeah I didn't realise I could use args[] like a string
(first time using args you see....)
but in my print statement I put ("Reading " ++
args[0]) ionstead of
("Reading " + args[0])
amazing the smallest thing the greatest stress :)You're not using "args" like a string
this code:
class EchoArgs{
public static void main(String[] args)
//args is a String array.
for(int j=0; j<args.length;j++)
System.out.println("args["+j+"] is:"+args[j]);
}Would simply echo each arg on its own line back...
But either way...all args passed from the Command line ARE strings.
(arg[0] is the first string of the string array, etc..)
Good ,luck,
Dave -
I can not uninstall Office 2013 from command line
Hi, I have been stuck for a while trying to uninstall Office 2013 via command line. Installation file was downloaded from Volume Licensing Service Center, Uninstall.xml file for silent uninstallation looks like this:
<Configuration Product=”ProPlus”>
<Display Level=”basic” CompletionNotice=”yes” SuppressModal=”yes” AcceptEula=”yes” />
</Configuration>
From command line the following will not work:
setup /uninstall ProPlus /config .\ProPlus.ww\Uninstall.xml
Error: Setup can not find or validate an installation file. Please try reinstalling Office . . .
setup /uninstall ProPlus gives me GUI to continue process - it seems /config .\ProPlus.ww\Uninstall.xml part does not work as it should be
This is very important to me since I used above command line in SCCM 2012 R2 to allow user to uninstall Office 2013 by itself via Software Center. When this failed I tried locally but the error was the same. This should have been trivial task - silent uninstallation
using .xml file. It is not a rocket science. I am very angry because losing time for something like this is unacceptable for system engineers working with SCCM 2012 R2.Hi,
This error might occurs due to lots of reasons. Where is the installation file stored? If it's stored on a network share, please copy it to your local disk, and then manually run the command again. This way, we'll see if the installation file is the
problem.
If issue persists in this case, then this generally means that something wrong with the installation file. Please try to redownload it and then try again.
Please also make sure that you're executing the command with elevated privileges (run as administrator).
Regards,
Ethan Hua
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click
here -
Question about reading a string or integer at the command line.
Now I know java doesn't have something like scanf/readln buillt into it, but I was wondering what's the easiest, and what's the most robust way to add this functionality? (This may require two separate answers, sorry).
The reason I ask is because I've been learning java via self study for the SCJA, and last night was the first time I ever attempted to do this and it was just hellish. I was trying to make a simple guessing game at the command line, I didn't realize there wasn't a command read keyboard input.
After fighting with the code for an hour trying to figure it out, I finally got it to read the line via a buffered reader and InputStreamReader(System.in), and ran a try block that threw an exception. Then I just used parseInt to get the integer value for the guess.
Another question: To take command line input, do you have to throw an exception? And is there an easier way to make this work? It seems awfully complicated to take user input without a jframe and calling swing.
Edited by: JGannon on Nov 1, 2007 2:09 PM1. Does scanner still work in JDK1.6?Try it and see. (Hint: the 1.6 documentation for the class says "Since: 1.5")
If you get behaviour that doesn't fit with what you expect it to do, post your code and a description of our expectations.
2. Are scanner and console essentially the same thing?No.
Scanner is a class that provides methods to break up its input into pieces and return them as strings and primitive values. The input can be a variety of things: File InputStream, String etc (see the Scanner constructor documentation). The emphasis is on the scanning methods, not the input source.
Console, on the other hand, is for working with ... the console. What the "console" is (and whether it is anything) depends on the JVM. It doesn't provide a lot of functionality (although the "masked" password input can't be obtained easily any other way). In terms of your task it will provide a reader associated with the console from which you can create a BufferedReader and proceed as you are at the moment. The emphasis with this class is the particular input source (and output destination), not the scanning.
http://java.sun.com/javase/6/docs/api/java/util/Scanner.html
http://java.sun.com/javase/6/docs/api/java/io/Console.html -
Comparing input from command line to a String token problem
Hi,
I want to compare my input from the command line to a token.
my command line looks like "java myProgram george bush president washington"
The next command could be "java myProgram geoge president washington"
Basically I have a text file which has a name, job and location field. The text file looks as follows
jim, farmer, chicago
paul, builder, texas,
george bush, president, washington
I am using string tokenizer with a "," as my field delimiter.
My lecturer wants me to take the input from the command line so applets are out of the question. However even though there are 3 fields, args.length() could equal 4 because "george bush" is only the name but george is args[0] and bush is args[1]. Is there a way to have a delimiter on the command line instead of a space such a ",". Can anyone see any other way around this?
Thanks1982. The year of.....wait for it.....
Jack And Diane
Tainted Love
Key Largo
Open Arms
Do You Believe In Love
Gloria
Working For the Weekend and of course the GREATEST song of 1982...
drum roll please......
Heat Of The Moment. -
Problem - reading an abitrary string from the command line in basic swing
Hi,
I'm sorry if this problem is a bit basic, but I've only just started swing in Java. Anyway, I'm trying to adapt a basic swing version of the HelloWorld class. When I try to pass an abitrary string from the command line to the label within the class, I get the following error,
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at week2.HelloWorldSwing_commandline.main(HelloWorldSwing_commandline.java:31)
Java Result: 1I must be missing something because I can't see where the problem is in the following code.
import javax.swing.*;
import java.awt.*;
public class HelloWorldSwing_commandline {
String message;
private static void createAndShowGui(String message){
JFrame.setDefaultLookAndFeelDecorated(true);
JFrame frame = new JFrame("HelloWorldSwing");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JLabel label = new JLabel(message);
Container content = frame.getContentPane();
content.add(label);
frame.pack();
frame.setVisible(true);
public static void main(String[ ] args) {
createAndShowGui(args[1]);
}Any help would really be appreciated.Hi,
I've tried changing the index value to O in the main method, but I still get the same error.
I'm running this in NetBeans 4.1, and when I try to run the class I get the error as listed above.
Any ideas how to correct this error?
Thanks -
Connection string not in the command line argument.
Hi,
I found myself constantly looking for the debug connection string and to enter it in the "Command line arguments". I decided to create my Add-On base class from which all my add-ons inherit from.
In the constructor of the base Add-On class I determine the connection string based on whether the code is in debug more or not.
Example:
string connectionString = string.Empty;
#if DEBUG
_connectionString = "0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056";
#else
// Get the log info
if (Environment.GetCommandLineArgs().Length > 1 )
_connectionString = Environment.GetCommandLineArgs().GetValue(1).ToString();
#endif
I hope this help.
Edited by: B1Computing on Apr 5, 2011 8:20 PMHi,
I found myself constantly looking for the debug connection string and to enter it in the "Command line arguments". I decided to create my Add-On base class from which all my add-ons inherit from.
In the constructor of the base Add-On class I determine the connection string based on whether the code is in debug more or not.
Example:
string connectionString = string.Empty;
#if DEBUG
_connectionString = "0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056";
#else
// Get the log info
if (Environment.GetCommandLineArgs().Length > 1 )
_connectionString = Environment.GetCommandLineArgs().GetValue(1).ToString();
#endif
I hope this help.
Edited by: B1Computing on Apr 5, 2011 8:20 PM -
How do I execute a returned sql string from a function on the command line?
Hi,
I have written a pl/sql function that will dynamically create a sql select statement. I need to be able to execute this statement from the command line. e.g from sqlplus
Say my function is called "sql_create" and it returns "select * from customer"
How do I execute the returned value from the command line?" Is it possible?
SQL> select sql_create from dual;
SQL_CREATE
select * from customer
SQL>
So I try:
SQL> exec execute immediate 'select sql_create from dual';
SQL>
I don't get an error but I don't get the result set either.
Is there a command I can use instead of execute immediate?
thanks,
Susan
Edited by: Susan123456 on Jul 2, 2009 1:21 AMdepends on the frontend. Most frontends (like Java and .Net) know how to handle REF CURSORS. Instead of returing a "string" which represents a query, return a ref cursor
SQL> ed
Wrote file afiedt.buf
1 create function sql_q return sys_refcursor
2 is
3 rc sys_refcursor;
4 begin
5 open rc for select * from emp;
6 return rc;
7* end;
SQL> /
Function created.
SQL> var r refcursor
SQL>
SQL> exec :r := sql_q
PL/SQL procedure successfully completed.
SQL> print r
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 900 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1700 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1350 500 30
7566 JONES MANAGER 7839 02-APR-81 3075 20
7654 MARTIN SALESMAN 7698 28-SEP-81 1350 1400 30
7698 BLAKE MANAGER 7839 01-MAY-81 2950 30
7782 CLARK MANAGER 7934 09-JUN-81 2551 10
7788 SCOTT ANALYST 7566 19-APR-87 3100 20
7839 KING PRESIDENT 17-NOV-81 5100 10
7844 TURNER SALESMAN 7698 08-SEP-81 1600 0 30
7876 ADAMS CLERK 7788 23-MAY-87 1200 20
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7900 JAMES CLERK 7698 03-DEC-81 1050 30
7902 FORD ANALYST 7566 03-DEC-81 3100 20
7934 MILLER CLERK 7782 23-JAN-82 1400 10 -
Command line to sort semi-colon delimited string
I'm sure there's a simple solution eluding me... I have an app which stores sets as a string like:
"bee;ant;cow;ant;Aardvark;dog"
which I want to sort to a string like:
"Ardvark;ant;bee;cow;dog"
...where letter sort** is case insensitive and number strings sort on numberical value (i.e. 1,2,10 not 1,10,2). FWIW, the string length is likely to be short and not large numbers of delimited terms - in case that matters.
** I can duck issue of sorting & accented characters if that's a significant complication at this point.
The app in question can't do the sort but can call a Unix command line and read its stdout. I want a single command line not an external script for portability/support reasons, though it doesn't matter if the CL is long. So, please don't suggest I use a script even if it's your own preferred method!
I thought of using 'sort' but that's for lines in a file vs a single input line. I guess I use awk, or can a pass perl as a CL (as opposed to calling a script)? Either way, my poring over the references I have hasn't showed me a solution and I don't know perl. Here's hoping someone can point me in the right direction.
TIA
MarkHere's one way to accomplish what you're asking:set stuff2Sort to "bee;ant;cow;ant;Aardvark;dog;1;10;2"
set sortedStuff to sortStuff(stuff2Sort)
on sortStuff(x)
set tmpSort to paragraphs of (do shell script "echo " & quoted form of x & " | awk 'gsub(\"",\"\\n\") {print}' | sort -g")
set oldDelims to text item delimiters
set text item delimiters to ";"
set theSorted to tmpSort as string
set text item delimiters to oldDelims
return theSorted
end sortStuffI don't know if the ";" and "\" are appearing correctly or not. When I preview this post it shows up as a smiley face even though I have it in a code block!
Hope this helps...
Message was edited by: Chachi
Sorry, thought I was in the Applescript forum! DOH!!! -
How to uninstall the command line tools?
I installed the command line tools in Xcode 4.5 from the preferences : downloads : command line tools.
If i want to uninstall this component, what should I do?
PS:
I saw an answer in the Apple Support Communities about how to uninstall the Xcode 4.3 and later versions.
This is the original: " If You want to uninstall completely XCode go to launchpad and push Xcode icon for two
seconds, so click on the upper left checkbox.".
I don't know what means "push Xcode icon for two seconds, so click on the upper left checkbox".There is no easy way to uninstall the command line tools. The following article has a script to uninstall them:
You Don’t Need The Xcode “Command Line Tools”
Read the comments in the article. I have not tested the script, but this is the first result when searching Google for "xcode 4.5 uninstall command line tools". -
How to uninstall "Command Line Tools" in Xcode 4.3?
Just installed Command Line Tools using the perference in Xcode 4.3. After removing Xcode 4.3, I found the Command Line Tools are not removed.
Is there any way to uninstall?
Thanks!Check the 'About Xcode' readme:
Uninstalling Xcode Developer Tools
To uninstall Xcode developer tools on the boot volume along with the <Xcode> directory, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=all
To remove the underlying developer content on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=systemsupport
To just remove the UNIX development support on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=unixdev
Finally, to just uninstall the <Xcode> directory you can simply drag it to the trash, or from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir
NOTE: The uninstaller that ships with previous versions of the Xcode developer tools will not clean everything off of your system properly. You should use the one installed with these Xcode developer tools.
-=-
If you find a black hole with the above, you could always reinstall Xcode, with those tools deselected and then delete according to the above, but all bets are off at that point, sorry
Good luck in any case. -
How to run the Quick Repair in Uninstall a Program from the command line
Hello everyone. Right now we're manually going onto machines and opening Control Panel, Uninstall a Program, then doing a Change on our Office 365 2013 installs to run the Quick Repair option. Is there a better way to do this with a command line
command (that only references local files on the machines), or just issues the same exact command that our manual intervention described above does?
We have the click to run version installed also if that matters.Hi,
To run a Quick Repair for 64-bit operating systems:
“C:\program files\Microsoft Office 15\ClientX64\integratedoffice.exe” RUNMODE RERUNMODE modetorun repair
To run a Quick Repair for 32-bit operating systems:
“C:\program files\Microsoft Office 15\ClientX86\integratedoffice.exe” RUNMODE RERUNMODE modetorun repair
Note: The above commands need to be run from an elevated command prompt.
For more information, please refer:
http://blogs.technet.com/b/office_resource_kit/archive/2013/06/17/automating-quick-repairs-in-office-365-proplus.aspx
Hope this helps.
Regards,
Steve Fan
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click
here -
How to uninstall Command Line Developer Tools
Hello, After upgrade to OSX Mavericks by mistake I downloaded Command Line Developer Tools. I'm not a coder, just a graphic designer and I'm not gonna need it. It's about 300 MB size and I don't want it. The worst part is that its the second time Apple Update shows a new update for this. If I try to move Library/Developer/CommandLineTools folder to trash I'm asked to provide my admin password, so I don't do it because I'm affraid to harm my OS. I've been searching on the web for an answer close to my case but only found uninstall tips related to Xcode that don't apply to me. Can you please help me to get rid of this Command Line Tools? Thanks a lot in advance!
latiffrommexico wrote:
If I try to move Library/Developer/CommandLineTools folder to trash I'm asked to provide my admin password, so I don't do it because I'm affraid to harm my OS.
Do it. It will not harm OS X, and you will be removing the Command Line Developer tools. Nothing will happen to your Mac, but you should make a backup of your files before modifying system files.
Maybe you are looking for
-
ABAP Dump CX_SY_DYN_CALL_PARAM_MISSING
Hi Experts, I am getting the below dump while clicking on the check button in tcode /cockpit/1. Below dump is happening. Any suggestion to come out of this? Category ABAP Programming Error
-
To buy a new printer or new print head?
Hi, I have a canon i9100 a3 printer which is 6 years old. the print head has had it, so i need to either buy a new print head for £60, or buy a new printer and i can't decide which one would be better. I don't want to spend more than around £250 on a
-
Power supply retailers near Philadelphia? G5 won't turn on anymore.
When I went to bed last night, my Mac was on and running fine. This morning, it was off, and would not turn back on. When I press the power button, absolutely nothing happens. I plan to replace the battery first, as I have seen recommended. If that d
-
Suggestions required on All-In-One System
Dear Guru's, We're having 2 doubt's regarding All-in-One system, 1. Shall we have 2 system landscape for All-in-One systems. System1(DEV Server)-having single instance with 2 clients 100 - DEV and 200 - QAS and System2(PRD server) having single insta
-
Windows 7 32-bit. Firefox 21