Jump to content

Help with FileInstall


Recommended Posts

Hey, theres something wrong wif the fileinstall, the image is meant to combine with compile script, and stay like that. But as soon as I move the picture away from D:\ it fails to work, and the image from SplashImageOn doesn't work

CODE
Dim $iTimerIntervall = 7500

Dim $iTimer = TimerInit()

While 1

If TimerDiff($iTimer) >= $iTimerIntervall Then

MsgBox(0, "Error", "Brenton is a......", 5)

FileInstall("D:\Test.bmp", "C:\Test.bmp")

SplashImageOn("", "\Test.bmp", @DesktopWidth, @DesktopHeight, 0, 0)

$opt = 1

Sleep(4000)

SplashOff()

$iTimer = TimerInit()

EndIf

Sleep(250)

WEnd

Plz Help!!

Link to comment
Share on other sites

It works, Thx

Wht happens if I delete the image from C:\ as well?

If you are running a compiled script it would not matter as it would be replaced as soon as you run the script. To try it delete the file into the recycle bin and run the script. If I am wrong you can always retrieve the file from the recycle bin.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...