Jump to content
View in the app

A better way to browse. Learn more.

WinCert.net Forums

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.

Need a directive to logoff current user when manually installation finished

Featured Replies

Posted

I need send a logoff directive to make registry entries take effects when manually installation finished

[Install]
BeginPrompt =BeginInst
RunPreSetupCommands =Create.i386:1
CopyFiles =program.files
AddReg =Uninst.AddReg
ProfileItems =Program.Addshortcut
RunPostSetupCommands=Delete.i386
EndPrompt =EndInst
;<----------------------------------------add Logoff directive here and with a prompt

I have Googled internet,only found directives to reboot machine like below

Reboot =  1
SmartReboot =A / N

any help is appreciated.

  • 2 weeks later...
I need send a logoff directive to make registry entries take effects when manually installation finished

[Install]
BeginPrompt =BeginInst
RunPreSetupCommands =Create.i386:1
CopyFiles =program.files
AddReg =Uninst.AddReg
ProfileItems =Program.Addshortcut
RunPostSetupCommands=Delete.i386
EndPrompt =EndInst
;<----------------------------------------add Logoff directive here and with a prompt

I have Googled internet,only found directives to reboot machine like below

Reboot =  1
SmartReboot =A / N

any help is appreciated.

I think that the command would be

CMD /Q /C shutdown -l

just add this to Delete.i386 section and should work, or create another section under RunPostSetupCommands

check with ricktendo64 on syntax for the inf, but "shutdown -l" is logoff user

Edited by Jonnyboy

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.