Office 2010 Installer Channel Switcher

Discussion in 'MDL Projects and Applications' started by Stannieman, Jul 12, 2010.

  1. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    My bad. I guess I should get myself a copy of that too then. ;)
     
  2. eng_redaesm

    eng_redaesm MDL Novice

    Feb 11, 2010
    11
    0
    0
    very great tool
    thanks Stannieman
     
  3. yo9fah

    yo9fah MDL Novice

    Nov 19, 2010
    40
    9
    0
    Very great tool. Works very well also the package romanian language. Thanks Stannieman.
     
  4. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,228
    1,816
    90
    Thanks to all for the thankings :)
    I just finished doing most boring job you can ever imagin, I think 1.3 will be there as a newyears present
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. CRA2YHAVOK

    CRA2YHAVOK MDL Senior Member

    Oct 23, 2009
    458
    155
    10
    Hey Stannieman, great work here, used this before faultlessly :)
     
  6. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,228
    1,816
    90
    #226 Stannieman, Dec 28, 2010
    Last edited: Dec 28, 2010
    (OP)
    Doing a big test with all available installers inputed at once right now. If all goes well I just need to pollish some things up a little bit and then a release is likely for tomorrow or thursday

    The features for selecting the setup languages are left out. These will come in 1.4 because I need to clean up the code first, but I thought it was getting time to finally make a version with support for all products available.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,228
    1,816
    90
    Ok after again a delay 1.3 is finally released!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. prosper

    prosper MDL Novice

    Aug 21, 2009
    14
    1
    0
    Hi, earlier today I download your 1.2 version and it work perfectly,
    when I try to convert the Office 2010 Pro Plus 64 bit retail version (X16-32213.exe)

    later (today) I found out you just released the 1.3 version.
    so I try the 1.3 version to the same Pro Plus 64 bit retail version and this time it did not work.
    The error message say :
    "could not successfully make changes to the x64 Office Professional Pro Plus Files, the working directory will be removed after you clicked OK "
    I am using Windows 7 64 Bit Operating System.

    Thanks
     
  9. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,228
    1,816
    90
    You can use the one that 1.2 created.
    But 1.3 should work also, you can try increasing the value of the Harddisk IO delay
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. prosper

    prosper MDL Novice

    Aug 21, 2009
    14
    1
    0
    Hi Stannieman,
    Thanks for your very fast response.
    I just increase the Harddisk IO delay to 100, and it still do not work.
    actually the time it took for the error message to show up is faster when I use the IO delay to 100 compare to when it was still
    at the 50 (default setting).
    Do you have any suggestion on what value of the IO delay is the best ?
    I am sure the 1.2 will work fine, but I always want to try the latest version :)
    Thanks
     
  11. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,228
    1,816
    90
    Ok try again with any delay (default is 50ms btw). When the messagebox shows up don't click ok and give me a list of files in workingdirectory\0\Proplusr.WW
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. prosper

    prosper MDL Novice

    Aug 21, 2009
    14
    1
    0
    This time I use the delay of 80ms and still not working.
    This is the list of files inside the ChannelSwitcherWorkingDirectory\0\Proplusr.WW directory :
    config.xml
    Office32WW.msi
    Office32WW.xml
    ose.exe
    osetup.dll
    OWOW32WW.cab
    PidGenX.dll
    pkeyconfig-office.xrm-ms
    ProPlusrWW.msi
    ProPlusrWW.xml
    ProPrWW.cab
    ProPrWW2.cab
    setup.xml
     
  13. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,228
    1,816
    90
    Are the files
    Office_Pro_Plus_x64_Volume_ProPsWW_cab
    Office_Pro_Plus_x64_Volume_ProPsWW2_cab
    Office_Pro_Plus_x64_Volume_setup_xml
    Office_Pro_Plus_x64_Volume_ProPlusWW_msi
    in the workingdirectory at that time?
    Apperantly it goes wrong right from the beginning where it starts to make changes, so it could be 7zip is failing somehow
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. prosper

    prosper MDL Novice

    Aug 21, 2009
    14
    1
    0
    Hi,
    none of the files you listed above are in the workingdirectory.

    I unzip your O2K10ICS13.zip using WinRar-x64-40b3.exe application.

    Do you suggest I should used different application to unzip your files ?
    what kind of application do you thing is best to unzip your files ?

    Thanks
     
  15. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,228
    1,816
    90
    #235 Stannieman, Jan 3, 2011
    Last edited: Jan 3, 2011
    (OP)
    The hash of the exe should match the ones in the frist post.
    But it might be that 7zip 9.20 has issues with x64 windows...
    What happens if you convert the volume iso from version 1.2 back to retail with 1.3?

    CDIMAGE.EXE and 7Z.DLL are in the workingdirectory, right?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. prosper

    prosper MDL Novice

    Aug 21, 2009
    14
    1
    0
    Your Ver 1.2 was using Rar not zip,
    and it works fine on the x64 windows.

    if you have spare time and can upload your Ver 1.3 in Rar type,
    I would be happy to test it for you.
     
  17. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,228
    1,816
    90
    I think you're mixing things together. The exe is compressed in standard zip now (and previously rar), but that doesn't matter. The exe that you extract is always the original exe. The hash should match the one in the first post, regardless of the compression type.

    The 7zip I'm talking about however is used for a file inside the exe. For each product there are 3 to 4 files, together they are 560MB. I compressed them with 7zip down to 17.4MB, this 7zip file and 7z.exe (needed for decompression) are packed inside the exe, and you can't see them.
    When you click start channel switching, it first extracts 7z.exe and files.7z to the workingdir. Then it runs 7z.exe to extract cdimage and 7z.dll from files.7z, I think it runs fine untill here? Can you check if 7z.exe, files.7z, 7z.dll and cdimage.exe are all in the workingdir please?

    Then it extracts the office installer, checks what it is, architecture, channel, language of readme file etc. Then it converts the products, in your case it extracts the files from my previous post. The first thing it does after that is reading Office_Pro_Plus_x64_Volume_ProPsWW_cab into a byte array.
    I think that's where it's going wrong, because that file doesn't exist.

    So it basically seems that 7zip 9.20 doesn't extract the files from files.7z on your x64 windows, but it does work with my x86 windows.

    Can someone else with x64 windows try this?
    If it turns out that x86 7zip is incompatible with x64 os then I'll release 1.3.1 with the older version of 7zip which did work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. eng_redaesm

    eng_redaesm MDL Novice

    Feb 11, 2010
    11
    0
    0
    #238 eng_redaesm, Jan 3, 2011
    Last edited: Jan 4, 2011
    I have win7 x64

    I tested it ,1.2 working good ,but 1.3 can't covert any version i tried too much after extracting giving error can't covert.
    while extracting i replaced the 7zip.exe in the working dir with my 7zip.exe ver 9.2 277kb but x64
    it converted it but gave me the error it can't make the iso(could not successfully make the iso image) but it make the changes and version in the output directory is valid vl version
     
  19. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,228
    1,816
    90
    Ok so I'm going to make 1.3.1 then with older 7zip then. I could include both x64 and x86 versions but that's too much hassle, using the older one is better in this case.
    And I'll have look at the iso problem. I'm actually surprised that that part is giving problems, cause no changes were made to the subroutine that contains the code to make the iso, and I used the same cdimage exe.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,228
    1,816
    90
    1.3.1 with x64 fix is available.
    Afterall it wasn't the new 9.20 that caused the problem.
    7z.exe can extract a 7zip archive on it's one on a x86 os, but on a x64 os it needs the dll also. I thought that the dll was only usd for isos, so I extracted it with 7z.exe. But on a x64 system it already needs that dll for the archive itself so that didn't work.

    Now the dll is again outside the archive like it was with 1.2 so it works again.

    Also Microsoft and 7-zip are added to the thanks list
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...