In InstallAnywhere project, how it detects that installation is unsuccessful. It does not seem to see the log file for it. Does it check if the exception has occured anywhere then it will fail?
There is a variable named, $INSTALL_SUCCESS$. If the installation is successful, then you can get some value from this variable.
Related
I used to be able to deploy my Xamarin.Android project to devices but for some reason I can't anymore. I can still successfully deploy UWP and iOS.
I get the error:
ADB0000: Could not determine the installation path for package com.my_pro.proj. `adb shell pm path com.my_pro.proj` returned ''.
Running adb shell pm uninstall com.my_pro.proj via the command prompt is the only thing that works for me whenever I have this error.
My hypothesis is that this error happens when the app gets installed for one user of the device manually but not for all users of it.
Well, the problem is that the application is not fully uninstalled and hence the package already exists in your device/emulator,
This, in turn, causes an issue while again installing the application.
How to fix this?
In your device/emulator, go to Settings>Installed Apps>AppName and delete this application and try deploying again, Also note that sometimes in place of AppName the package name is displayed here so in case you do not find your app, look for the package name.
Revert in case of queries
sorry if this is a trivial question, but I've been banging my head against this and I'm getting nowhere, so I thought I'd throw it up.
I'm trying to install Elasticsearch on an Windows 2008 server on Azure. It appears to have installed correctly, but I cannot get it to start.
I have looked around for similar errors and double-checked my JAVA_HOME variable - it appears to be correct, as does the config file.
I also expanded out the heap size via editing the java options files, still no luck.
Any help would be greatly appreciated
Output Log file
JAVA_HOME variable
Which version are you installing? The latest, which would be 5.5.0?
Which installation method did you use? The ZIP or the MSI file?
The last line in your Output Log file screenshot actually shows the error message: The data area passed to a system call is too small.
I'm taking a wild guess: You set Java_HOME in the user variables, but it must be set in the system variables.
When I install composer on Windows 10, with active directory (meaning some of my user files live off on a server elsewhere), I get the following error when attempting to install:
Installation failed, deleting ./composer.json.
[InvalidArgumentException]
$from (\AD.LOCAL\SYSTEM\Users[path]\Application Data\Composer\ad.local\system\Users[path]\Applicat
ion Data\Composer\vendor\bin/boris) and $to (\AD.LOCAL\SYSTEM\Users[path]\Application Data\Composer\vendor
[path]\boris\bin\boris) must be absolute paths.
...very likely because my "Application Data" folder is not on my local machine.
How can I get around this. Windows composer install doesn't give me much in the way of options.
(Or, alternately, if I'm misinterpreting the cause of the problem, what is actually going on and how do I fix it?)
If your issue was during the installation there is a flag that allows you to set the installation directory.
The bin file from the path in the error message vendor/bin/boris doesn't look familiar to me and I am going to assume you completed an installation and a command had failed. There is a COMPOSER_HOME environment variable that impacts where a number of items are stored. This defaults to ${APPDATA}/Composer, if there are issues writing under that path for any reason, you can change the path by setting the COMPOSER_HOME variable for your user.
Created a local windows admin account, installed the functions from that account, and then put the local admins roaming folder in my PATH. Ugly, but effective.
I've written a piece of code in PHP to generate PDF using WKHTMLTOPDF binary file. It was working fine till I had to recompile my Apache. Now it fails with error Error: Unable to create temporery file (this is the exact wording).
The situation in which the error is reproducible is a little complicated. I managed to narrow down the error and now I'm pretty sure that the error happens because of the user that Apache runs as. It seems to me that when WKTHMLTOPDF is running as a user with no home folder, it's unable to access a temporary folder within the user's home folder.
Surely I can change the Apache's user but I would rather resolve this problem once and for all. To this end it would be great if I could somehow set the temp folder for WKHTMLTOPDF or at least print its current value to make it valid! Does anyone know how to do any of these two?
BTW, I'm using WKHTMLTOPDF 0.11.0 rc1.
I saw the same error today in Rails4 + pdfkit gem(0.8.2) + wkhtmltopdf(0.12.2.1) under CentOS 6.7.
This error came from wkhtmltopdf and the reason was it couldn't create temporary file. wkhtmltopdf depends on some temporary filename creation API (I'm not sure), but probably following shows some hints:
$ man tempfile
$ man tempnam
In my case, my TMPDIR environment variable showed wrong path (I had accidentaly deleted the directory!) so that wkhtmltopdf couldn't create work file.
When I unset TMPDIR, then it worked! Of course, setting correct existence directory to TMPDIR should be OK too.
I am trying to use VSDBCMD.exe (Visual Studio 2010 version) to deploy the output of a database project. I am including the /dd:+ switch in my command line. Every time I run the command, I get one message:
TSD00566 Deployment script generated to:
C:\Deploy\SqlServerDB.txt
There are no errors, but the deployment script is not executed and no deployment happens. I do not have the /Quiet switch turned on.
I have tried both specifying all parameters on the command line and using the .deploymentmanifest file. I get the same results either way: a script file is generated, but not executed. No schema changes are deployed.
I do know that my connection string is correct, because the deployment script that is generated is valid (and even references file paths that only exist on the target SQL server).
My current command line (as in, most recent attempt) is
vsdbcmd.exe
/a:Deploy
/cs:"Data Source=[the correct server];Integrated Security=True;Pooling=False;Initial Catalog=[the correct database]"
/Quiet-
/dd:+
/p:TargetDatabase="[the correct database]"
/dsp:Sql
/Model:"C:\[output path]\SqlServerDB.dbschema"
Can you please help me figure out how to troubleshoot this command, since I am not getting any error messages or useful output?
When VSDBCMD generates a delta script and detects that there are no changes between the database project and the target database, it does not execute the deployment step.
However, it also does not display any message indicating why it id not deploy. So, there were no errors (ergo no error messages) but it did not deploy because the source scripts were identical to the destination database after the first time we ran the command.
It would be nice to have some kind of message indicating "no changes to deploy," but at least I know now that it is working as designed, and that there was no deployment necessary.