bjfrog Posted September 16, 2008 Posted September 16, 2008 I need send a logoff directive to make registry entries take effects when manually installation finished[Install]BeginPrompt =BeginInstRunPreSetupCommands =Create.i386:1CopyFiles =program.filesAddReg =Uninst.AddRegProfileItems =Program.AddshortcutRunPostSetupCommands=Delete.i386EndPrompt =EndInst;<----------------------------------------add Logoff directive here and with a promptI have Googled internet,only found directives to reboot machine like belowReboot = 1SmartReboot =A / Nany help is appreciated. Quote
Jonnyboy Posted September 30, 2008 Posted September 30, 2008 (edited) I need send a logoff directive to make registry entries take effects when manually installation finished[Install]BeginPrompt =BeginInstRunPreSetupCommands =Create.i386:1CopyFiles =program.filesAddReg =Uninst.AddRegProfileItems =Program.AddshortcutRunPostSetupCommands=Delete.i386EndPrompt =EndInst;<----------------------------------------add Logoff directive here and with a promptI have Googled internet,only found directives to reboot machine like belowReboot = 1SmartReboot =A / Nany help is appreciated.I think that the command would be CMD /Q /C shutdown -ljust add this to Delete.i386 section and should work, or create another section under RunPostSetupCommandscheck with ricktendo64 on syntax for the inf, but "shutdown -l" is logoff user Edited September 30, 2008 by Jonnyboy Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.