FAQ: How can I launch other applications if the system boots in shell replacement mode?


The SiteKiosk shell replacement (e.g. active in the so-called “Autostart“ mode of SiteKiosk) causes applications stored in the Startup directory (Start-->All Programs-->Startup) to be overlooked when the user logs on to the system.

Since SiteKiosk 8.x you can start external applications after the start of the SiteKiosk browser by adding them to the SiteKiosk configuration (-->Applications) and enabling the checkbox at “Run program automatically“:

You may also enable the option “Keep the SiteKiosk main window in the background (not TopMost)“ at -->Start Page & Browser-->Advanced“:

Alternatively or with older versions:
1. If you would like these applications to be launched even though you are using SiteKiosk in shell replacement mode, you must store the programs in the directory "HK_LOCAL_MACHINE/SOFTWARE/MICROSOFT/WINDOWS/CURRENT_VERSION/RUN" located in the Windows Registry, rather than in the Startup folder.

2. Another option is to use the Windows function “Scheduled Tasks.”
The following is a Microsoft article on how to use Scheduled Tasks in Windows XP:
This Windows feature allows you to select a user under whose access rights this program is supposed to be executed.

3. You can also create an external script that launches a program AFTER SiteKiosk was started.

EXAMPLE (JavaScript in combination with SiteKiosk Object Model):

evtid = SiteKiosk.Scheduler.AddDelayedEvent(5000, start);

function start()
SiteKiosk.ExternalApps.Run("c:/windows/notepad.exe", false);

In this sample script, “notepad.exe“ is launched 5 seconds (5,000 ms) after the start of the SiteKiosk browser (SiteKiosk.exe).

Use an editor (e.g. Notepad) to create a JS file (e.g. start.js) and copy these lines to the file.
Continue by simply saving the JavaScript file you created to the directory ...SiteKiosk\Html\ and add it to the SiteKiosk configuration as an external script (-->Browser-->Browser Design-->Advanced-->Execute Script File).

Please note that the script above is merely an example. When you implement your own application, you may have to observe certain user access rights.
These include “read AND write access“ to the corresponding directories.

If necessary, you can use the System Security Wizard to adjust this and other rights for the SiteKiosk user.

Answer: (0)

No answers/comments
My Account
Language (Articles):