Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
My program killed my friends system
I wrote a simple program (I thought) for a friend. It allows users to put information in an Excel spreadsheet, then converts this to XML for storage and retrieval by unique identifier. I reference Excel, XML and IE in the project references to allow opening of the Excel spreadsheet to get the data and convert it to XML and to display the formatted data in IE.
All seemed to be going fine. I completed a prototype of the project and tested it on my machine (I am running XP Professional). I then used the package and deployment wizard to package it an put it on a CD. I removed all the test files from my machine and installed the program using the CD. It worked!!!
I took the CD to my friend to try on his Windows 98 machine. He put the CD in and clicked install. A window came up saying that some of his files needed to be updated and asked if he wanted to update them now. He clicked yes, the files updated and told him that he needed to restart. When he did, he received an error message saying that some dll's were missing or could not be opened. Now he can not get his machine to boot from C: or his Windows 98 CD. Fortunately, he had recently added a new hard drive and still had the Win 98 operating system on the old drive. After some replacing of files on the old drive with the ones from the Win 98 CD he was able to access his files. He is still unable to boot from the new hard drive. Seems that my program deleted, replaced or corrupted some of the files in the win32 folder on that drive.
Can anyone tell me what I did wrong and or how to fix it?
0 · ·