Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Easy way to test for Desktop location?

Featured Replies

Benjamin (or others),

I just used your latest version 2.1.18 for my new installation and since moving the Desktop to another location works correctly now I tried it and told Wihu to move the shell folder "Windows Desktop" to D:\Alexander\Desktop.

Worked perfectly.

However, I now have a problem with some of my unattended installations. Some installers add a Desktop icon to the User Desktop. In my installation script for those apps I usually have a line like this:

del "%USERPROFILE%\Desktop\DScaler.lnk"
that gets rid of the Desktop icon. Obviously, if the desktop is not at the the default location, the script fails and Wihu then shows an error message:
DScaler Wurde mit Code 1 beendet. Kann auf einen Fehler hinweisen. Status Wait

Now, I know that there is a place in the registry where I can check for the location of the desktop. But the user Wihu uses to install the software is not logged on so a reg query will probably not get me the correct location of the desktop.

Is there an (easy) way to check where the Desktop for the user that is installing the software is if the location was changed in Wihu ?

Note that I am using cmd files to install the software and I am calling those cmd files from within Wihu ....

I hope someone can help !

Thanks,

Alex


What about using %Desktop% variable?

This will return the desktop path of the user currently installing software in WIHU.

Benjamin Kalytta

  • Author

Hi Benjamin,

thanks, did not know about this variable ... but ... this variable is only available from within Wihu, right ?

That probably won´t help me much if I am simply calling an external cmd file from Wihu where all the software installation commands are.

Or do you know a way to "transfer" a variable from Wihu into a cmd file ?

Thanks,

Alex

As long as this CMD file is started from within WIHU, you may use these variables. Otherwise it's difficult to get this shell folder paths. You have to load it's user profiles (ntusers.dat) and read it out from there.

Benjamin Kalytta

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.