RCSS .NET V8.0 doesn't installs correctly RRS feed

  • General discussion

  • After installation the symbols are not installed and in the source folder only the &

    File that represents the error
    Download .Net Version 8.0 from Reference source 

    • Windows xp sp3
      • With Language for non-Unicode program --> Arabic
      • Regional and Language options -> Regional option  == English (United States) but the short date format has changed to d/MM/yyyy
    • .Net Framework 3.5 Sp1, 3.0 sp2, 2.0 sp2, 1.1
    I had extracted by using Orca RSCC.ZipHelper of the binary file included in setup file and passed the parameters
    e.g.  RSCC.ZipHelper.exe /ACTION:DECOMPRESS /SOURCEPATH:E:\msifiles\DotNET\RefSrc\Source\DotNET\8.0\ /TARGETPATH:E:\msifiles\DotNET\RefSrc\Source\DotNET\8.0\ /

    An Error occurred:
    Error occurred while decompressing the file:
    System.FormatException: String was not recognized as a valid DateTime.
       at RSCC.ZipHelper.GZip.Decompress(String lpSrcFolder, String lpDestFolder, String zipFileName, Boolean deleteTempFile)
       at RSCC.ZipHelper.GZip.Decompress(String lpSourceFolder, String lpDestFolder,
     String zipFileName)
       at RSCC.ZipHelper.Program.Main(String[] args)

    I think the error because the date fomat included in the file is MM/d/yyyy

    My Solution
    I had opened it with Reflector and rewrote the whole program and changed the way assigning the modified date and replace it in the setup file and installed it, it was perfectly installed

    public static GZippedFile GetGZippedFile(string fileInfo)  
                GZippedFile file = null;  
                if (!string.IsNullOrEmpty(fileInfo))  
                    string[] info = fileInfo.Split(new char[] { ',' });  
                    //CultureInfo culture = new CultureInfo("en-US");  
                    //culture.DateTimeFormat.ShortDatePattern = "M/d/yyyy";  
                    //culture.DateTimeFormat.LongTimePattern = "h:mm:ss tt";  
                    if ((info != null) && (info.Length == 4))  
                        file = new GZippedFile  
                            Index = Convert.ToInt32(info[0]),  
                            RelativePath = info[1].Replace("/", @"\"),  
                            //ModifiedDate = Convert.ToDateTime(info[2], culture),  
                            ModifiedDate = ToDateTime(info[2]),  
                            Length = Convert.ToInt32(info[3])  
                return file;  
            public static DateTime ToDateTime(string value)  
                DateTime dateTime;  
                    string[] dateTimeStr = value.Split(' ');  
                    string[] dateStr = dateTimeStr[0].Split('/');  
                    int month = Convert.ToInt32(dateStr[0]);  
                    int day = Convert.ToInt32(dateStr[1]);  
                    int year = Convert.ToInt32(dateStr[2]);  
                    string[] timeStr = dateTimeStr[1].Split(':');  
                    int hour = Convert.ToInt32(timeStr[0]);  
                    if (dateTimeStr[2] == "PM")  
                        hour += 12;  
                    int minute = Convert.ToInt32(timeStr[1]);  
                    int second = Convert.ToInt32(timeStr[2]);  
                    dateTime = new DateTime(year, month, day, hour, minute, second);  
                    dateTime = DateTime.Now;  
                return dateTime;  

    • Changed type Figo Fei Monday, September 8, 2008 4:31 AM to comment
    Thursday, September 4, 2008 1:12 PM

All replies

  • Hi,

    1. I don't know why this type of the thread have been changed to comment?
    2. I am trying to report a Bug about Reference Source - DotNET 8.0 "DotNET.msi" installation
    3. When could happen as i explained above and maybe on windows with different Langues
    4. Where you could find the file
    5. My suggestion for the Microsoft IT where you can find the bug as i had shown above.

    6. If you have suggestion for better place to report this Bug, please write down the link
    7. For me i had solved the problem by rewriteing the program. but i wanted to share the problem for other users who can't solve it.

    • Edited by Zaben Tuesday, September 9, 2008 8:31 PM changiing word way to why
    Monday, September 8, 2008 7:01 PM