Need an example of /installfromweb command line switch for Installscript Project Setup.exe - installscript

Can anyone please provide me an example of /installfromweb switch in Installshield that is passed to setup.exe ?
I am trying to use this switch with "Installscript project" not "Installscript MSI" for web based Installation.

I found the answer using hit and trial method. Basically the command should be:
setup.exe /installfromweb:

Related

How to run and debug api manager source code in intellig idea?

I have apim source code from github, How can i add some code to the project and build as new ? How to run and debug in intellij idea?
If you are looking to add backend changes, you can do the necessary changes in the carbon-apimgt repository. Once the changes have been done, if you are looking to build a new pack with your changes, you can follow the steps mentioned here. You can follow this guide to debug using IntelliJ IDEA.
If you are looking to add frontend changes, you can follow the steps mentioned here.

"No files matched the search pattern" in tfs build

I want to build my project from TFS Azure(VSTS).
I have made one project which is under Asp.Net Core.
I have made Build definition with Asp.Net Core Template and given the path for restore like **\*.csproj but I am not sure about this path or not?
I have tried many options like **\admis.csproj and some others, but I have faced the same error as the one on the following image:
I am using Asp.Net Core 2.1. Any ideas?
Just check your Workspace mappings in Get sources step, make sure you have mapped the source directory which included the solution or project file *.csproj:
Please check!
1) Server path should be: $/YourDevOpsProjectName/YourBranchName/TheRestPathUntil .csproj file
As I see on your screenshot, your path should be $/0424Test/NetCoreApp/NetCoreApp (I'm assuming that your .csproj file is there).
2) I had the same problem, because when I tried to Queue build for my project, in Source version I set 1 and the process of the queue tried to take 1 source code version, that of course not exists.
If Source version's value is empty, it try to get the last version of your source code
3) Use **/*.csproj as "Path to project(s)" for every task in your Agent job.
Please check!
Server path should be: $/YourDevOpsProjectName/YourBranchName/TheRestPathUntil .csproj file

Hybris : Addons is not working(overriding)

I am new to Hybris environment. For past two days i have been working on addons concept. i can able to copy my addon files to the target storefront successfully and also compiled with no error. But the issue is my addon is not working(overriding) the functionality of the core code base. The core code is only executing.
I tried to debug, debugger is entering into my corresponding addon controller, then i got the following error message from eclipse. then it jumps into the core code controller and it got executed.
Can someone explain me the complete workflow of the AddOn and also the mistake that i have committed?
Any sort of answer is welcome from the Hybris developers. Thank you in advance.
I think you have committed mistake in < storefrontTemplateName >. The command to install addon is
ant addoninstall -Daddonnames="addon_name" -DaddonStorefront.yacceleratorstorefront="custom_storefront_name"
Do you have done some 'copy and paste action' or did you use the install command from hybris? You have to explicit 'install' the addon. Have a look here how it is working:
https://wiki.hybris.com/display/accdoc50to56/Installing+an+AddOn+for+a+Specific+Storefront

How to suppress DEVENV launching help window on error

DEVENV.exe command I am using to create build.In case solution file has issues and not properly linked to setup project .It throws error "Invalid project " error.Then it opens DEVENV.exe 's switch -help window .
"%dotNet2010%\devenv.exe" MyApp.sln /build "Release" /project "MayApp\Setup.vdproj" /Out "%LOGLOCATION%"
I guess ,This is causing long wait during automatic run and the log file not updated completely.
Any idea ,How to stop this help windows during errors?
As per the below link There is a known issue with DEVENV 2010 command.
http://connect.microsoft.com/VisualStudio/feedback/details/724272/devenv-hanging-on-cmd-line
To fix - We need to upgrade to VS2012 or hot fix need to be applied.
The hang is not happening always.
But with VS2012 devenv command - No hang and error is logged properly.
If you want to suppress all GUI windows and instead have all output redirected to the console then use DEVENV.COM instead of devenv.exe. Note the .COM extension.
For build related tasks it is recommended that you use MSBuild see MSDN Microsoft.
Here is an example of using MSBuild to build Deployment or Setup projects.
Building Visual Studio Deployment Projects With MSBuild
In either case ensure your call is to DEVENV.COM instead of DEVENV.EXE.

OpenCover in localhost with C# MVC 4 app

I just want to try OpenCover to get Coverage statistics from my app.
But I don't understand well how to use it. So here my questions?
Does the dll's have to be in the same directory? (my solutions have several projects)
Any example to get Coverage using OpenCover?
Is necessary to run the site in IIS Express or with ASP.NET development server is ok?
Thanks a lot!
I set up open cover as an external tool to make it easier on me.
Download the exe and drop it in a folder with as short a path as possible. then setup and external tool as follows:
Title : Open Cover {this is your choice}
Command: {your path to opencover}\OpenCover.Console.exe
Arguments: -register:user -target:"C:\Progra~1\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" -targetargs:"$(TargetName)$(TargetExt)" -output:coverage.xml -targetdir:"$(ProjectDir)\bin\debug"
Initial directory: $(TargetDir)
Set it to use output window and close on exit. You will need to adjust the test runner program to suit you, i use vs2012, if you do too, that will make it easier on you.
To use it, click your test project in your solution explorer, then click on the open cover external tool and it will generate you the coverage report. I use it with Report Generator.
Set it up as an external tool too:
Title: Report Generator
Command: {Your path to report generator}\ReportGenerator.exe
Arguments: $(TargetDir)coverage.xml $(TargetDir)\coverageResults
Again, set to close on exit and use output window.
after generating your coverage report, you can then use report generator to create a nice looking html version that you can click through and see the stats.
hth
The docs that are installed alongside OpenCover carry a lot of useful information about running OpenCover. You should have a copy of this file https://github.com/sawilde/opencover/blob/master/main/OpenCover.Documentation/Usage.pdf in you download package (MSI/ZIP/NUGET)
The DLLs do not need to all be in the same directory but you will normally find that this happens due to the build process. Any assemblies that you want to gather coverage from will require that the PDBs for those assemblies to be in the same directory as the assembly or in the folder referenced by targetdir switch.
Yes you can use it to run iisexpress or the ASP.NET development server use the target switch.

Resources