Sign in to follow this  
Followers 0
Hielper

nvm

3 posts in this topic

#1 ·  Posted (edited)

nvm this can be closed

Edited by Hielper

Share this post


Link to post
Share on other sites



Take a look at _WinAPI_MoveFileEX in the help file. Since you're running an MSI install, I am assuming you're already operating under an administrative-level account. If that is the case, this should work for marking files for deletion on reboot:

_WinAPI_MoveFileEx(<filename>, "", $MOVE_FILE_DELAY_UNTIL_REBOOT)

 


When you're dead, you don't know you're dead - it's only difficult for those that know you. It's the same way when you're stupid...

My Scripts: SCCM UDFInclude Source with Compiled Script, Windows Firewall UDF

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

@Hielper we don't close topics unless they violate the forum rules, and please do not delete your posts. Your question may help someone somewhere down the road.

Edited by JLogan3o13

When you're dead, you don't know you're dead - it's only difficult for those that know you. It's the same way when you're stupid...

My Scripts: SCCM UDFInclude Source with Compiled Script, Windows Firewall UDF

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0