Collect resources (ie. properties files) for Install4J from remote machines - install4j

I need to collect a property file from a remote machine for my software to be installed using Install4J. Does Install4J provide functionality to collect/transfer files from remote locations to the local environment to proceed through installation?

You can use a "Download file" action to download a file from a URL to
${installer:sys.resourceDir}/my.properties
which is the temporary directory of the installer. In further actions you can refer to the downloaded file with the above syntax.

Related

IIS Express not working on vs code "Unable to start iisexpress"

IIS Express Extension not starting and can't launch Asp Net app.
I enabled IIS in 'Turn Windows features on or off'
Installed IIS 10 Express
Installed VS Code IIS Express Extension
Tried reinstalling IIS Express and the extension. Still getting the same error.
Do you have a Program.cs file within your Asp Net app? That is typically where .NET looks to find everything to start running.
I enabled IIS in 'Turn Windows features on or off'
Here you installed IIS, not IIS express. IIS Express is equivalent to a stripped-down version of IIS, which has almost all the functions of IIS, but it has no visual management interface, and all management operations are performed by modifying configuration files.
Download IIS Express from this link and install on the developer PC.
After installation, the IIS Express configuration files will be available in "Documents\IISExpress\config" and the IIS Express executable files will be available in the installation directory. For example: C:\Program Files\IIS Express; Set the environment variable path to "C:\Program Files\IIS Express". (Open advanced system settings -> Environment variables -> System Variables -> Path -> Edit ->New -> add the path C:\Program Files\IIS Express). About Using IIS Express, please refer this link.
The specified module could not be found.
For more information about the error, run iisexpress.exe with the tracing switch enabled (/trace:error).
Check if there is an IISExpress\config folder in your home folder. This is a common mistake when configuration files/folders are missing. If the directory does not exist, you will need to create the directory; or the directory may already exist and is just corrupted, you will need to delete the config directory and re-run C:\Program Files (x86)\IIS Express>iisexpress.exe/trace:error

How can I change VS Code Remote Server's default download folder?

I often download file from vscode remote server, but how could I change default download folder? It always opens a specific folder I don't want to download into.
I don't know about configuring the detault download directory, but there was an issue created and resolved to get VS Code to Remember target directory when downloading files #140358, which was implemented in commit ca936dc.
bpasero (one of the VS Code maintainers) commented to close that issue as resolved:
For the "Download" command we now remember the path where to download and restore that. This information is stored globally (i.e. applies to all windows) but will not roam via settings sync, because paths are typically machine local.
Previously we did a questionable computation of a default path that typically always ended up in the user home directory, which imho does not make a lot of sense for the download operation.
Verification:
connect desktop to any remote
right click from the explorer "Download"
pick a destination
repeat and verify the destination restores even across restarts

How to add path variable for File vault tool(VLT) AEM eclipse integration

Integrating FileVault with Eclipse usually requires setting up filevault path variable.I have described the steps below
Copy the FileVault archive file from the cq-quickstart/opt/filevault directory of your installation. Copy either filevalut.tgz or filevault.zip, depending on your operating system.NOTE: You can also download the latest version of FileVault from Package Share. Extract the archive. Add /vault-cli-/bin to your environment PATH so that the command files vlt or vlt.bat are accessed as appropriate.
Path variable setup:
1)vim ~/.bash_profile
2)PATH="/User/Documents/AEM/AEM_6.1/crx-quickstart/opt/helpers/vault-cli-
3.1.16/bin:${PATH}"
export PATH
3)source ~/.bash_profile
For example, /crx-quickstart/opt/helpers/vault-cli-2.4.8/bin. Open a command line shell and execute vlt –help. Make sure it displays the results.

Deploy Click once as a single file?

I am looking to use click once to deploy an application for internal use, When publishing to the network share it creates several files and folders. (manifest, ApplicationFiles etc)
Is there a way to bundle this up as a single file, I do not fancy the idea of allowing other users access to the application Files folder that is created, I would rather just give them the exe and have it take care of everything else.
Does anyone have experience with this, or am I stuck with the application Folder, Application Manifest, and setup file all being in the same directory for installation.
There is not a way to package the whole application folder and files into one file, like an MSI with ClickOnce.
You could code something on your own to have a shell app that use ClickOnce and its only file would be your app compressed. The shell would download that compressed file to the client's machine and would unzip etc.
You could also InstallShield Limited Edition that comes with VS 2012/2013 in the Other Projects, Setup and Deployment but that does give you the ClickOnce easy of deployment features. You could use the InstallShield setup to be your compress file in your shell clickonce app and then just use Process.Start to launch the InstallShield setup. It should work.

Can I access remote files on a different OS from Eclipse?

I remember i could remotely open files that are on my server via Notepad++. Can I do that with Eclipse so that I can edit files on my computer and when I save it saves on that file directly on the server.
I am using Windows 7 and my server is CentOS (I think).
The Remote Systems Explorer lets you do this. Open "Help > Install new software...", select the "Galileo Update Site", find the Remote Systems Explorer and install it.
Once you've got it installed, open the "Remote Systems" view and add a connection to your favourite server. I use it all the time; works like a charm.
Eclipse normally needs files to be in a project, but if you are able to map the network drive, you can add the remote folder into a project as a linked resource, then it can be modified as if it is on the local machine (except for additional latency).
To maintain portability, you can specify a path variable for the remote file system and define a relative path from that variable. See this answer for details of setting up linked resources.
If mapping the drive is not an option, there is the Remote System Explorer architecture. I've not used it myself so I can't say how well it works, but this blog describes how to use RSE to browse remote files.