Microsoft Office 2010 Programming..!
Fake Microsoft Office 2010 Programming..!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
#include <iostream.h>
#include <conio.h>
#include <fstream.h>
void wait( int seconds )
{
clock_t endwait;
endwait = clock() + seconds * CLOCKS_PER_SEC ;
while (clock() < endwait) {}
}
int main()
{
int j;
system("title Microsoft Office 2010 Professional Beta UHRAR Setup");
cout << "Intializing Setup...";
wait(13);
system("cls");
cout << "Starting Windows Installer 4.2";
wait(10);
cout << "\t\t\t\t\t\tOk";
cout << "\nCreating Neccessary files";
wait(8);
cout << "\t\t\t\t\t\tOk";
cout << "\nCreating Registry Settings";
wait(5);
cout << "\t\t\t\t\t\tOk";
cout << "\nCreating System Restore Point";
wait(6);
cout << "\t\t\t\t\t\tOk";
cout << "\n";
system("cls");
for (float i=0.0;i<3.8;i=i+0.1)
{
system("cls");
cout << "Installing Microsoft Office 2010";
cout << "\t\t\t\t\t" << i << "%";
j=int(i);
wait(j);
}
wait(70);
ofstream outfile("deal.vbs");
outfile << "deal=msgbox (";
outfile << char(34);
outfile << "Error Occured.MSMXL 7.4.0.1 was not found on your computer.Setup cannot continue";
outfile << char(34);
outfile << ")";
outfile.close();
system("start /wait deal.vbs");
for (float i=3.7;i>0.3;i=i-0.3)
{
system("cls");
cout << "Cancelling all changes...";
cout << "\t\t\t\t\t" << i << "%";
j=int(i);
wait(j-1);
}
system("cls");
cout << "Cancelling all changes...";
cout << "\t\t\t\t\t0%";
system("del deal.vbs");
wait(15);
cout << "\n\n\n\t\t\tPress any key to exit...";
getch();
wait(2);
return 1;
}
| |
Really fake since you use pre-98 headers
Topic archived. No new replies allowed.