Command-line installation issue : InstallMediaPath parameter?
Hello,
I have an unsuccessful command-line installation of SQL Express 2008 R2. I need to do it to install a new local instance so that a Winforms application could use it (I'm packaging the app thus installing pre-requisites through my installer).
I hit "InstallMediaPath" blank parameter issue, if I look into "C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\Detail.txt".
System.ArgumentNullException: Value cannot be null.
2014-09-08 09:40:17 Slp: Parameter name: InstallMediaPath
I read on the forums that this error can solve by uncompressing before running setup, so here are my two commands. I still have the issue.
"Resources\SQLEXPR_x86_ENU.exe" /Q /X:"%TEMP%\SESetup"
"%TEMP%\SESetup\Setup.exe" /ACTION=Install /QS /IAcceptSQLServerLicenseTerms=True /Features=SQL,Tools /InstanceName=MSSQLSAFETIFY /SQLSVCACCOUNT=\"NT AUTHORITY\\NETWORK SERVICE" /AddCurrentUserAsSQLAdmin /SECURITYMODE=SQL /SAPWD="somePassword"
Earlier in log file I see a correct value for InstallMediaPath so am clueless.
2014-09-08 10:00:51 Slp: Setting: SQLSVCACCOUNT
2014-09-08 10:00:51 Slp: Value specified: "NT,AUTHORITY\\NETWORK,SERVICE /AddCurrentUserAsSQLAdmin /SECURITYMODE=SQL /SAPWD=somePasssword /ACTION=RUNRULES /RULES=GlobalRules /WORKFLOW=Install /TIMESTAMP=20140908_100041 /LOGMARKER=_GlobalRules /MEDIASOURCE=C:\Users\bpo\AppData\Local\Temp\2\SESetup\ /INSTALLMEDIAPATH=C:\Users\bpo\AppData\Local\Temp\2\SESetup\x86\setup\ /ENU /MEDIALAYOUT=Core
2014-09-08 10:00:51 Slp: New setting source: CommandLine; previous setting source: Default
2014-09-08 10:00:51 Slp: ----------------------------------------
2014-09-08 10:00:51 Slp: Completed Action: ProcessFeatureCommandLineArguments, returned True
Thank you so much for helping. Do I have some incorrect parameters?
I finally found a solution, using a Configuration.ini file. Blog entry dealing with MS SQL unattended setup
I suceeded with a configuration file, adding though two parameters to file, IAcceptSQLServerLicenseTerms="True" and SAPWD="passwordOfMyChoice".
With command line only, I had "path2" parameter null value error, once I added /InstallMediaPath undocumented (?) option to my initial command line switches...
Similar Messages
-
What are alternatives for passing DB credentials to rwrun/rwclient command line instead of USERID parameter?
As per application security, the DB details should be mentioned in command line.
I am looking for alternatives which I can use?
Please help.
Regards
Gaurav AnandIf you want a database username/password for every user that runs a report, you need to include un/pw in the command.
An option that you see quite often is that Reports use a general database user to run any report. In that case you can include the un/pw of this special user in the Key Map File:
http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_run013.htm#RSPUB23557
Of course, in that case you need an application in front of the call to the report to check if the user is allowed to run the report. This is how most web applications work anyway: there is one database user, and application users are maintained in the application itself.
Or you can use single sign on:
http://docs.oracle.com/cd/E24269_01/doc.11120/e24479/pbr_sso002.htm#RSPUB23512 -
Command line installation - exit code 32 error
We are installing Adobe Acrobat 7.0 via command line installation in our network. When the installation is completed the clients reboot and our software-delivery-server quits with an error ("Exit code 32 indicates possible error"). To install the Adobe Updates we have to renew the complete installation.
I think the installation routine does not send an "installation complete" message to the server, but that is just an idea. The exit code 32 error means nothing to me. Does anyone have an idea what I can do ?
We are using a W2003 server, CA Unicenter Software Delivery Software and WinXP/SP2 as clients.We are installing Adobe Acrobat 7.0 via command line installation in our network. When the installation is completed the clients reboot and our software-delivery-server quits with an error ("Exit code 32 indicates possible error"). To install the Adobe Updates we have to renew the complete installation.
I think the installation routine does not send an "installation complete" message to the server, but that is just an idea. The exit code 32 error means nothing to me. Does anyone have an idea what I can do ?
We are using a W2003 server, CA Unicenter Software Delivery Software and WinXP/SP2 as clients. -
Financial Reporting - Exporting Batch for Command Line Scheduling Issue
Financial Reporting 11.1.2.2
When I export, a successfully run scheduled batch, for command line scheduling the xml file that is exported only has the following information in it. I think that it is missing alot of information.
Any ideas what I am doing wrong, if anything?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<JOB_OBJECT OBJECT_ID="0">
<DATA_SOURCE_USER_CREDENTIALS DS_PASSWD="" DS_USER_NAME=""/>
<HR_USER_CREDENTIALS HR_PASSWD="" HR_USER_NAME=""/>
<OUTPUT_OPTIONS>
<HTML VALUE="No"/>
<MHTM VALUE="No"/>
<PDF EXPORT_PDF_FOLDER_LABEL="" VALUE="Yes"/>
<SAVE_AS_SNAPSHOT VALUE="No"/>
<PRINT VALUE="No"/>
</OUTPUT_OPTIONS>
</JOB_OBJECT>Hi again,
I am not sure if you can extract the formatting to Excel... I had also issues.
Can you please try to retrieve the report into Excel via Smartview? Check page 136 of http://docs.oracle.com/cd/E40248_01/epm.1112/smart_view_user.pdf
Regards,
Thanos -
MAC OS X command line installation
Hello
I would like to know if its possible to install Adobe AIR through the command line in MAC. How is this done?
Im using MAC OSX Snow Leopard.
Thanks
Regards
Joao PereiraHi Joao,
Here's what our Troubleshoot AIR Install tech doc has to say:
On Mac OS, run the following in the Terminal:
To install: "/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer" -silent
To uninstall: "/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer -uninstall"
Chris -
I am having a problem passing a property value on the command line in a Linux box. Here is a simple version of the script.
java -DmyName="Joe Smith" ShowName
I want "Joe Smith" to be the value of the property myName but myName has "Joe instead. What do I need to do so that myName contains both words?java -DmyName="Joe Smith" ShowNameYou're doing this on Windows, right? (Thanks (not!) for providing all the necessary information to debug your problem).
The problem is that "CMD.EXE" is dumb about quotes in the middle of an argument. It treats -DmyName="foo bar" as two strings, with explicit strings.
You have to say "-DmyName=Joe Smith". -
Command line installation options for Ironport Email Security Plug-in
We're getting ready to implement email encryption with our C160. I want to deploy the Outlook plug-in to my users using SCCM. According to the administrator guide I should be able to do this however I have downloaded the current version of the plug-in and it doesn't seem to support the command line options described in the administrator guide. Specifically the /f1 switch (page 3-17 of admin guide) used to pass the setup.iss file doesn't work. This command is then referenced to be used for the distribution package in SCCM. I'm trying to use CiscoEmailSecurity-7-1-1-002.exe.
Am I missing something? Or has something changed in the deployment method? Thanks for your help.Hi Scott,
Can you include the exact syntax your using?
it should look like this,
Start /w CiscoEmailSecurity_7-1-1-002.exe /s /v /qn /f1"J:\install_711002.iss
Christopher C Smith
CSE
Cisco IronPort Customer Support -
Greetings,
I scripted in 10.7 the mounting of a Windows share (SMB) for some back end tasks. My script needs to dump collected data over to a Windows share for further processing.
My code seems to have broken since my upgrade to 10.8.
Here is the line of code:
I first create the directory: /Volumes/SHARE
then:
/sbin/mount -o nobrowse -t smbfs //SERVICEACCT:[email protected]/SHAREhttp://winserver.sinc.stonybrook.edu/SHARE /Volumes/SHARE
That worked. But now, I get an authentication error. The problem seems to be that a domain needs to be attached to the name, but nothing works.
I tried:
/sbin/mount -o nobrowse -t smbfs //domain\SERVICEACCT:[email protected]/SHARE /Volumes/SHARE
/sbin/mount -o nobrowse -t smbfs //domain\\SERVICEACCT:[email protected]/SHARE /Volumes/SHARE
/sbin/mount -o nobrowse -t smbfs //domain.mydomain.edu@SERVICEACCT:[email protected]/SHARE /Volumes/SHARE
The last one confuses the heck out of the system. Any ideas?
Thanks,
Andrew
Andrew W. Johnson
Sr Macintosh Systems Administrator
Department of Teaching Learning & Technology
Division of Information Technology
Stony Brook University
Computing Center Room 115
Stony Brook, NY 11794-2400Found the solution to my own problem. Syntax needs to be:
DOMAIN;USERNAME:[email protected]/SHARE -
Command line installation for plugins
The documented way to install Apex 4.0 plugins is to use the Builder GUI.
Is there a way to install a plugin by running a SQL file similar to how a full application export produces a SQL file that can be used to install the application into another database?
ThanksAPEX 4.0.1 caught the vast majority of issues identified in 4.0. APEX 4.0.2 is there for any small things which didn't make it into 4.0.1 but which we don't want to defer until our next major functional release of APEX 4.1.
I expect some customers to raise some important issues to us at Oracle OpenWorld in September. Thus, I'm not planning on releasing APEX 4.0.2 until later in 2010 - maybe not even until after DOAG and UKOUG (which are in November) when we'll get more customer issues reported. Whereas I wanted to get APEX 4.0.1 out the door ASAP due to the large number of quality issues, there isn't anything compelling (at least today) that warrants moving up the date of APEX 4.0.2.
I believe APEX 4.0.1 is stable enough to upgrade.
Joel
P.S. By the way, will we be seeing you at Oracle OpenWorld? -
Ok, I know this is a really stupid question but I have not had the oppurtunity to explore everything in Java yet. I was wondering how I get javac to recognize my program from any directory on my computer. I know it can be done but I need to know how.
add your jdk bin directory to your path in autoexec or boot environment varaible settings.
To run java from anywhere, add . to your classpath environment variable the same way you did for the path. -
Hi,
I have downloaded SSDT-BI software and looking for commandline steps,config file for this.
http://www.microsoft.com/en-us/download/details.aspx?id=42313
Any one have Command line installations steps for SSDT-BI automatic(command line) installation for SQL Server 2014 with giving the files location,where to install.....etc, i mean config.xml.
I found below but not sure it will work or not. If any one have working correct command line script, please reply on this forum.
Looking for config.xml file, i searched online and did not find any where with clear config.xml file details.
--Found below from link and not sure it will work or not
http://blogs.technet.com/b/ilikesql_by_dandyman/archive/2013/03/10/how-to-automate-the-installation-of-sql-server-ssdt-office-2013-and-visual-studio-2012.aspx
setup.exe /ACTION=INSTALL /FEATURES=SSDTBI_VS2012 /Q /IACCEPTSQLSERVERLICENSETERMS /norestart
thanks in advance.Hi SQLDBA321,
The SSDT-BI is automatically installed under xxx:\Program Files\Microsoft SQL Server\. Now matter in GUI or command line, we can't change the path. Because SSDT is a feature of SQL Server, not a feature of Visual Studio. It just use the Visual
Studio Shell. So SSDT will only be installed with SQL Server.
Reference:
Install SQL Server Data Tools - Business Intelligence for Visual Studio 2013
If you have any question, please feel free to ask.
Simon Hou
TechNet Community Support -
Launching Rescue & Recovery from a Command Line
Question - I would like to know how I can launch Rescue & Recovery from a command line.
Issue that is prompting the question - My laptop was sitting in my computer bag overnight. The battery was fully charged. I BELIEVE that it was in suspend mode at the time. When I opened it in the morning, there was a message on the screen saying that a backup had not completed successfully. I then noticed that the battery had run down completely.
My Plan - I would like to launch Rescue & Recovery (as well as the Defrag utility) from Windows Task Scheduler. If I do, then all schedule tasks will be launched and controlled using the same process. Windows Task Scheduler also provides two key scheduling criteria that the IBM Rescue & Recoverry or the IBM Maintenance Manager utilities do not provide -
#1 - Run this task only when the PC is on AC power.
#2 - Run this task ony when the computer is idle (so that it doesn't slow down the PC if I happen to be working on it)
Background Concerns -
- Having a backup job automatically start when the computer is in my computer bag will run down my battery when I least expect it.
- The PC may could also be damaged due to overheating, since the sides of the computer bag block the ventilation holes.
Additional Info
- If I go to the ThinkVantage Productivity Center and select the Quick Link for "Backup Now" this will indeed launch a backup on demand. I assume that selecting this option is calling a specific executable file.
- However, the only two applicable executable files that I see in the C:\Program Files\Lenovo\Rescue and Recovery directory are "mr_gui.exe" and "wizrr.exe". Both of these files launch an interface that requires the user to make a selection. As a result, it doesn't look as if either of these files would work for unattended operation, unless there is some sort of switch that I can put in that will automatically start the backup process.
- I called the support line (only once so far), but that particular rep did not know of any way to launch Rescue & Recovery other than from the standard R&R user interfaces.
Any help is greatly appreciated,
MathewThe correct way to invoke a JSP is to make a request to the Server.
Normally you would use your browser to do this.
On a unix system, you can use the wget command to invoke a url without using a browser. -
Passing user defined parameters in oracle reports thru command line
Hi All
We are currently using Reports 6i with Oracle 10g 10.2.0.4.0
I would like to know that is it possible to pass user defined parameters values while calling report from command line.
For Example: I am using following coding to call report from command line.
for /f "tokens=1-3 delims=/ " %%a in ('date /t mm/dd/yyyy -1') do (
set mm=%%b
set dd=%%a
set yyyy=%%c)
rwrun60 report=c:\reports\banks.rdf userid=express/test@test_rs2 destype=FILE desname=c:\reports\banks%dd%%mm%%yyyy%.pdf desformat=PDF BACKGROUND=NO BATCH=YES
The report contains some user defined parameter which is using in where condition of reqport query.
Select * from banks
where id = :Bank_ID
Now I want to Pass value for :Bank_Id from command line (like we pass parameter list while calling report with run_product), how it is possible?
Thanks
HassanHi guys
Fortunately I am able to perform the required task as I just added the report parameter field as follows:
rwrun60 report=c:\reports\banks.rdf userid=express/test@test_rs2 destype=FILE desname=c:\reports\banks%dd%%mm%%yyyy%%h%%mi%%ss%%ts%.pdf desformat=PDF BACKGROUND=NO BATCH=YES ERRFILE=c:\reports\error.log LOGFILE=c:\reports\joblog.log bank_id='MCB'
bank_id is the report parameter using in where clause.
Regards,
Hassan -
Command line compiler wierdness
Have been compiling RoboHelp 7 HTML Help projects from the command line without issue, but suddenly no glossary text is displayed in the compiled chms. The .glo file is compiled, but the glossary tab is blank.
All required dlls are registered, and surprisingly, if I compile the project in the RoboHelp 7 GUI, the glossary text does show up in the compiled chm.
Using RoboHelp 7.0.3. I've uninstalled and reinstalled, and tried building on a different PC with the same results.
Very odd - anyone else come across this and know how to fix it?Hmmm... Thanks Jeff but I think that goes right back to the realm of a manual process.
Any other thoughts?
Thanks again! -
Various problems using extension manager with command line
Hello all,
We are installing our plugins to CS4/5/5.1 version of Adobe Photoshop as part of our installer and allow the users to select specific versions of Photoshop to install the panel for. There are a few old problems that I wanted to rant about for quite some while and now with a whole bunch of problems that the 5.1 update introduced I feel I just have to voice them. I will limit it to PC only as it seems to be the most troubled platform
#1 As we cannot install our plugin only by using the Extension Manager (simply because it cannot handle all we've to do upon the installation) we have to run commands from within the our installer, non-interactively, of course.
The interface to command line installation is xmancommand.exe (or "Extension manager (Version). exe" - not sure whether it makes any difference. ). Now the first question is how to find this executable on the target machine, from an installer. Users may specify different locations to install the Creative Suite and it certainly does NOT have to be C:\Program Files\...(or %PRGRAMFILES% in general). ATM we are using an odd place in the registry to to find the path to the most recent Extension Manager but first its sometimes overwritten by another installation and in any case it only shows ONE version of the extension manager which of course cannot handle other versions (see #2)
#2 Why the most recent version of Adobe Extension Manager (5.5) cannot install the extension for 5.0? Well, install it actually does, however its disabled for CS5 and it seems that the only way to enable it on this platform is to find previous (CS5) extension manager and to enable it. Oh, actually no - it doesn't work! The only way that I found here working is to find CS5 extension manager first, install the extension there and then use CS5.5 extension manager to enable it. Why do I need both utilities to manage my extensions?!
#3 The program is severely lacking in documentation AND it doesn't produce reasonable output messages, so determining what it can actually support is a puzzle. For example, why "Dreamweaver CS5" is a correct product name and "Photoshop CS5" is not (don't different teams talk to each other)? Ok, lets forget the consistency, but how do I make the utility output the list of all products it supports, in their magic token form that it will actually be understood if passed in in the command line? By trial and error? This menthod btw is also extremely painful: nany times when specifying wrong parameters the program doesn't provide any output and just shrugs "whatever, go figure it yourself"...
#4 Why the only way to enable/disable an extension in Photoshop seems to be using magic "productfamily" keyword that is not even listed on Adobe's help page for command line options (here: http://help.adobe.com/en_US/extensionmanager/cs/using/WSB4845EDD-14E5-476a-B749-FF328830D1 4F.html).? E.g. "xmancommand.exe" -suppress -remove product=Photoshop extension=OurExtension" will ALWAYS fail with a lovely "'Photoshop is not supported by Extension Manager CS5.5." error; I've tried "PhotoshopCS5", "Photoshop CS5", "PhotoshopCS5.1" "Photoshop CS5.1", "Photoshop-12" (mentioned in examples section in http://help.adobe.com/en_US/extensionmanager/cs/using/packaging_extension.pdf ) and a whole bunch of other permutations - none seem to work (see #3). Magic "productfamily=Photoshop" does work. But then it only aims the current version ("CS5.1") and I need it to work for CS5 (I'm not even mentioning CS4...."). Would there be any suggestions?
Really, the question is, how do we, third-party developers, are supposed to interact with the command-line utility without knowing where it is, what product names is capable to work with and without being able to target specific platforms (i86 vs x64 anyone (http://forums.adobe.com/thread/672537)? CS5 vs CS5.1 (above)?). I don't know what your test cases are for the command line tool (if any!), but this is simply insane, folks, simply insane.I am sorry for the poor documentation of Extension Manager which causes you so much trouble.
1. You can use BridgeTalk API to ask specific version of Extension Manager to do something. There is sample in packaging_extension.pdf about this. You don't need to know the installation path of Extension Manager. One thing to note is that the value of bt.target is version specific, i.e. "exman-5.0", "exman-5.5" send this message to different version of Extension Manager, so you can change this value to install/enable/disable/remove extensions using different version of Extension Manager. More detailed documentation of BridgeTalk can be found by clicking "Help" menu then clicking "Javascript Tools Guide CS5" in "Adobe ExtendScript Toolkit CS5".
2. Specific version of Extension Manager only manage extensions for corresponding version of product. You should use Extension Manager CS5 to install extensions for Photoshop CS5. The reason that the extension you installed for Photoshop CS5.1 using Extension Manager CS5.5 is displayed for Photoshop CS5 in Extension Manager CS5 is that two versions of Photoshop specified the same directory for Extension Manager to manage extensions. This is a defect and will cause some problems if multiple versions of Photoshop co-existed in one machine. But "to find previous (CS5) extension manager and to enable it" should work for you, I guess you use command line to enable it and specify wrong product name (see #3) so that it doesn't work.
3. When using command line, you should specify "product" attribute with the name displayed at the left panel of Extension Manager. So "Photoshop CS5 32" is correct. Remember to enclose it with double quote because of existence of space character.
4. As above mentioned, use display name of Photoshop, and call proper version of Extension Manager by BridgeTalk.
Maybe you are looking for
-
How do I get icons to show up on my iphone
Before upgrading to IOS7, I had more icons showing. Missing several; when I search and type the name in, apps open up. How do I get icons to "reappear" on my phone?
-
How do you recover a pages document when pages crashes before you can save it for the first time
Pages crashed unexpectedly before I had a chance to save it for the first time. How can I recover that document? It must be out there somewhere!! Thanks
-
Auto Duplex works on computer, but not in Remote Desktop
Hi Everyone, We recently moved to a Server 2008 R2 print server. Many of our users use Remote Desktop to run applications on servers, one of which is a 32-bit Server 2003 box. We have a LaserJet 4350 with an automatic duplexer. The duplexing works co
-
Hi all, i have standby DB on standard edition(manual management), when i add or modify tablespaces in the primary DB how impact the standby DB because the archivlog application give erro. Regards.
-
How to control the content of a new tab
When I open a new tab it starts on a page that I do not want. So how do I change the initial web location of a new tab?