0

I am trying to create a simple install program that will put a file (shortcut) with the following in the target so that it will open a chromeless window to a website.

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app=https://example.com

When I create the shortcut on my desktop or in a local folder it will work. I am trying to take the same file I created and place it in a folder using a install setup program.

I tried Inno installer and it gave me an error when I tried to compile.

https://www.screencast.com/t/ruIYCAfMrj

Is there a way to accomplish what I am looking for in order to install it using a software installer program?

Any help would be greatly appreciated.

=============

What I am attempting to do is get the shortcut I made on my local machine onto others machines so when they open double click on them it will open chrome to the url in a chromeless window without navigation address bar or buttons. It will look and act like an app.

To replicate what I do on my local machine here are instructions to create the type of shortcut I want to install on others windows machines.

Create Windows 10 chromeless app windows.

Create a new shortcut by right clicking on a empty area of your desktop.

Select New and then Shortcut.

https://www.screencast.com/t/wSGzzcre

In location field Define your website target...

Add the following from this next line...

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app=http://live.kslx.com/listen/

Change url after --app= to any page you want to be the start page in the window you are creating

Submit and in next field type the name of your App/shortcut

https://www.screencast.com/t/vAo2JkVK

Click finish button.

2 Answers2

0

The error in the sccreencast-link clearly states that you have a problem with the quotes (") in the line that starts with "Source" - maybe check that?

But that aside, i create installers i need using InstallForge. It's free, can be used with a GUI, can be used with config files - and easily allows to create arbitrary shortcuts during the installation process. I don't know if it fits your needs, but maybe it's worth a look.

In general, "creating a shortcut" isn't really "creating an installer" and i don't really understand what you want to achieve. Maybe you can clarify?

xph
  • 380
0

If you are working in Windows, I guess the simplest form of installer would be a Windows batch file. Do you have experience in creating batch files?

In a batch file you could create a shortcut using the Nircmd program from Nirsoft.com.

Syntax for the command can be found here: Nircmd syntax

This may or may not be practical for you - it would mean you need to put Nircmd on each machine on which the simple installer is to be run. Worthwhile if you are administering a work group - Nircmd is very useful for a wide range of purposes.

Another approach might be to use powershell and windows scripting which comes on most computers nowadays. But you do need to set powershell up correctly - it's security model is pretty tight. Someone else may be able to help with that - I am not an expert. However here is a link with some relevant code. Powershell script

tripleee
  • 3,308
  • 5
  • 36
  • 35
Mouse1
  • 1