2 small utilities for Spoon Studio

Discussion in 'Virtualization' started by a_catalin, May 20, 2011.

  1. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
  2. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    I solved a small problem with one of the modules.
    The 2 links from the first post of the thread are updated.
     
  3. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
  4. virtualworld

    virtualworld MDL Novice

    Sep 28, 2011
    13
    0
    0
    @a_catalin. I've tested your ExeBuilder a few times now and very useful. Thank you.
    How do I set file association with .dat? I tried the same way I did with .exe but it doesn't work. Any hints please?
    This is what I tried: spoonreg.exe /nocache "D:\Virtual Apps\Adobe Suite Premium 5.5\Adobe Suite.dat"

    Thanks
     
  5. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    #108 a_catalin, Oct 30, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
    ExeBuilder is meant to be used when you want to make portable applications that require more than one exe file (as you know Spoon Studio can generate only one exe file). For example in Microsoft Office where you have Word, Excel, Powerpoint...
    So if the virtualized application requires only one exe file then you can set the output file name as *.exe and you don't have to use ExeBuilder.
    But if the virtualized application requires more than one exe file then you have to set the file associations for each exe file generated by ExeBuilder (not for the dat file).
    Unfortunately spoonreg.exe can't help you with this.
    I'm thinking of modifying the exe files generated by ExeBuilder so they can "store" the extensions inside and when you start them with "/register" command to register them automatically.
    But the problem is that sometimes is not that easy to make a connection between the exe from the virtualized application and the associated extension(s).
    For example in Office 2007 the "docx" extension is stored like this:

    Code:
    <Extension name=".docx" progId="Word.Document.12" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
    We know that "Word.Document.12" is "Winword.exe" but the problem is to make ExeBuilder find the "connection" between them for every application automatically...
     
  6. virtualworld

    virtualworld MDL Novice

    Sep 28, 2011
    13
    0
    0
    I packaged Adobe Suite Premium CS5.5 with one .exe and set file associations with spoonreg. I much prefer the icons generated by ExeBuilder for all apps in the suite but don't know how to set file associations.
    Now looking to add those extensions to .xappl.
    Thanks for the example for Word.
     
  7. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    Update for Office 2010 by Spoon Support

    We are on the good way? Maybe...
     
  8. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    BETA TESTER NEED!
    Operative system: Windows Xp SP3 "English version" ( VMWare \ Virtualbox )
    Office 2010 Professional Plus "English version"

    We are close to the goal.

    Thanks,
    John
     
  9. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    I could try to help but there is a problem: Office 2010 licensed I have only at the company where I work. At home I have Office 2007.
    I have to ask permission from my boss each time I do something with it and he is not happy when I'm wasting time and resources. So it wasn't when I tried to virtualize it a few months ago and failed; I think there is little chance that it will approve another test.
    If you think that it will help I could try at home with an activator...
     
  10. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    We have different point of view with Robert of Spoon Support. I say there is problem with the spoon software/template, cannot add all the dll. Insted Robert say:
    I don't thing the os or the language is a problem, thinapped version work well ( a user of this forum test with spoon studio a german office version, same error ) but i can not test by myself.
    If you can, i'll send all information to the capture and the folder structure for the spoon support
     
  11. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    I use English XP to virtualize Office (English or other language), but I agree, I also don't believe the problem is that you use Italian Windows XP and/or Italian Office.
    But I think it's wise to check, so you could tell Robert that this is not the problem.
    Please send me the informations about how to virtualize (their method).
     
  12. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    I have say to Robert, language isn't the problem, dll are equal for all office version.
    I'll post soon the guide to capture and test Office.
     
  13. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    #116 johnmcloud, Nov 6, 2011
    Last edited by a moderator: Apr 20, 2017
    So, here's the guide:

    Don't open Spoon ( TRIAL )

    Internet OFF

    Install your Office 2010 completely and active it
    P.S If you have Office x86, you need to catpure on x86 system. If you have x64 version, you need to capture on x64 windows

    Start all applicationan of Office, test always the guide (F1), some function, anything you want.

    Internet ON

    Open Spoon
    Select "Scan Desktop Application"

    If Office appers, select it, continue and save ( don't build )

    In Office NOT appers, select Wizard - Select application from Template

    Choose:
    Office Professional Plus (Language) x86 or x64

    Continue and save.

    Make a diagnostic mode-executable before build

    Build the app

    Open all office application, test the guide, if you have dll error ( Excel, Publisher ) or simply can not create file ( Access )
    Let me know all the error

    Now you have to make a list to the file/directory used by spoon.

    Open notepad, past this:
    Code:
    @Echo off 
    If not exist %1nul then goto NoDir
    Dir %1 /oe /s > c:\windows\temp\List.txt
    Start c:\windows\temp\List.txt
    Goto End 
    
    :NoDir 
    Echo. 
    Echo Attenzione: la directory %1 non esiste. 
    
    :End
    
    Save this file like "MakeDir.bat". Copy this file in SendTo folder. Now right-click on this folder:
    USER Document/Spoon
    Send To --> MakeDir

    Save the list to a txt.

    Now make a zip with:
    The diagnostic file generated by the .exe
    The file XAPPL generated by spoon
    The list of the file in the directory "USER Document/Spoon"

    Upload, is about 6-7 MB

    That's all. If you have some problem simply ask.
     
  14. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    Thanks for the report. I don't have any problem with activation, and I never had problems with freeze applications.
    I'll post all to Spoon Support
     
  15. virtualworld

    virtualworld MDL Novice

    Sep 28, 2011
    13
    0
    0
    @johnmcloud May be I'm a bit late but trying to test your theory. Office 2010 installation completed and activated. Now scan the Desktop for installed software. It connected to Spoon server for config and now gave me a SPOON File. How do I build with that? Did I miss something?
    On a different note, up until now I haven't been able to package Winzip. I has missing .dll as well. They offered to packaged it for me and same story.
     
  16. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    #120 johnmcloud, Nov 7, 2011
    Last edited: Nov 7, 2011
    Please use the template for Office, is the same thing. That .spoon file is used for upload on spoon server, we don't need for this test, i'm sorry if I was not very clear.

    For the WinZip problem, use the classic "Before/After" capture, there isn't template for WinZip. I have just try the v.16 Evalutation Version, and the software work well. It's about 60MB without compression.