MSI Factory 2.3

File.MoveOnReboot

File.MoveOnReboot

This is the first topic This is the last topic  

File.MoveOnReboot

This is the first topic This is the last topic  

OverviewExamples

File.MoveOnReboot (

string Source,

string Destination )

Example 1

File.MoveOnReboot(_TempFolder .. "\\setup.exe", "C:\\setup.exe");

On the next system reboot the file "setup.exe" located in the user's temporary directory will be moved to "C:\setup.exe."

Note: _TempFolder is a built-in variable that contains the path to the user's system "Temp" folder.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us