ATOM behind a proxy

To configure ATOM for using it behind a proxy, we have to add some lines into the file /.atom/.apmrc.

http-proxy=http://<host>:<port>
https-proxy=http://<host>:<port>

Add the following line when you have some problems with the SSL certificate but use it cautiously.

strict-ssl = false

More info: atom/apm

Create ClickOnce signed with *.deploy extension through Powershell

Click Once doesn’t provide an argument for building a manifest and an application file with the deploy extension, so you have to write your own script.

Summary of the steps that will be executed for generating a ClickOnce.

  1. Create a manifest of the binaries
  2. Change the extension of binaries to *.deploy
  3. Sign the manifest file created at the step 1
  4. Create the deployment file
  5. Modify the deployment file to add the parameter mapFileExtensions
  6. Sign the deployment file

(more…)

How to install NSIS setup.exe silently from InnoSetup

I had to install some third party setup builded with NSIS for installing my software.

To call them silently from InnoSetup, I had to use the Exec function.

Exec(<filepath>, '/S', <workingdir>, SW_HIDE, ewWaitUntilTerminated, <result>);

Arguments /S and SW_HIDE is very important for executing NSIS setups silently. The argument /S is provided by NSIS and the argument SW_HIDE is prodived by InnoSetup.

Configure the anonymous authentication for opening Office documents without the credentials dialog

I spent a lot of time looking how to remove the credentials dialog when we try to open an Office document. My case was we needed to open an office document linked on a HTML page and when a user clicked on a link, we had always a credentials dialog. Even we click on the Cancel button, the document will open after the dialog has been closed.

So to remove this dialog, we have to configure your web.config file.

Add the anonymous authorization on a specified a folder, for instance the Document folder in your root website folder.

(more…)