2 small utilities for Spoon Studio

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

  1. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    I retested the virtualization of Office 2007 in Win 7 x86 using ZAV but it works fine (no error). Strange...
    Can you test on your computer using Spoon Studio 9.5?
     
  2. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,400
    2,043
    210
    Which way did you do it?
    Apart from file removal from project (ones that are obviously not needed) and registry entries that also are not needed I did not do anything different then one would expect.

    Or you did not remove anything?

    sebus
     
  3. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    #143 a_catalin, Nov 11, 2011
    Last edited: Nov 11, 2011
    (OP)
    I did virtualized it like in the tutorial.
    Also I checked what you sent me (the xappl file and list.txt). When I asked you to send them it was for the previous error (which you say that now is fixed). The current type of error is not so easy to "track".
    Oh, and which registry entries do you remove usually..?

    Later edit: I tried to send you a PM but the forum said that you exceeded the quota...
     
  4. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,400
    2,043
    210
    #144 sebus, Nov 11, 2011
    Last edited: Nov 11, 2011
    Dealt with my mailbox, it is fine now

    The obvious registry entries that are unrelated to Office, and which happen during normal Windows use

    The previous error was me not selecting anything in the startup (which was an error on MY part)

    sebus
     
  5. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    Ok, I sent you a PM.
    I think you should test with Spoon Studio a little and you should test also without removing registry entries - just to see how it goes...
     
  6. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    @virtualworld
    No problem with MSI and Winzip 16
    My test build was Xp SP3, no changes, all option by default. Only active for MSI admin privileges for all-user install
     
  7. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    #148 a_catalin, Nov 13, 2011
    Last edited: Nov 13, 2011
    (OP)
    It may be a good idea for some applications.
    In the current version I don't think you can do this directly. So maybe as a feature.
    I tried in some applications to access folders/files in their locations directly, not from the virtualized filesystem. For example if a program has some files in "C:\Program Files\Application Name\Data\" I created the folder on the real computer, copied the files there and deleted them from the virtualized application. I noticed a small increase in speed and a small decrease in memory usage but not that much. And some applications could not access their files properly.
    Another way is to use "@APPDIR@\Application_name" as the sandbox and, using a file manager started from inside the virtual environment, to copy the files/folders into the virtualized application (in fact they will be copied into the sandbox). But I have not noticed an increase in speed, on the contrary. I think that the sandbox is not designed for speed when is accessing a lot of files.
     
  8. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    I'll try to suggest to spoon, a new feature like this in some case can be useful.
     
  9. flatwax

    flatwax MDL Novice

    Jul 3, 2011
    16
    0
    0
    Spoon Studio Unexpected XML declaration portable Drivermax

    Can anyone help me out. I'm trying to make portable Drivermax but when trying to build the project, an error message came up.

    "The configuration file could not be processed because; Unexpected
    XML declaration. The XML declaration must be the first node in the document, and no white space charaters are allowed to appear before it. Line 2, position 3."
     
  10. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    #151 a_catalin, Nov 16, 2011
    Last edited: Nov 16, 2011
    (OP)
    I tested and it's the same problem on my computer too.
    Seems like you found a bug in Spoon Studio, one that appears rarely when trying to virtualize certain applications (it happened to me too with some applications).
    You could notify the programmers who made it but usually those kind of errors are not fixed very fast.
     
  11. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    #152 johnmcloud, Nov 16, 2011
    Last edited: Nov 16, 2011
    @flatwax & @a_catalin

    I found the issue and how to resolve.
    It's a startup problem. So follow this guide:
    1) Capture before
    2) Install the software
    3) Make a shortcut to the desktop
    3) Capture After
    4) Select the startup file:
    Select one/all except the main .exe of the software:
    @PROGRAMFILES@\Innovative Solutions\DriverMax\devices.exe
    5) Save like:
    DriverMax .dat
    6) Select the sandbox in the same directory ( optional )
    @APPDIR@\Sandbox\DriverMax
    7) Select enable startup optimization and shutdown process tree on root exit ( optional )
    8) Build the app
    9) Use ExeBuilder to make the .exe to the main software
    10) Finish :D
     
  12. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    Yes, it's a solution, thank you. Good thing that you found it
    The key is to select other startup file (if you don't select anything is still not working) and use ExeBuilder to make exe(s).
    But it's a bug in Spoon Studio, this way the problem is only avoided, not solved.
    Plus in this case most users will want a single exe file (which would start "devices.exe") and maybe they will not like that there are 2 files instead (dat + exe).
    But, like I said, it's a solution and a good thing that you found it :)
     
  13. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    Thanks :D
    Yes, is a bug. The spoon support is "fast" ( there is only Robert, actually ) and if you can post the issue on you Jira Account would be nice.
    Currently I am busy with the new feature "Out-of-the-Box", which seems to have been accepted by the dev, but I still have to wait for the definitive answer, so i can't open a new issue now.
     
  14. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    I reported the problem to Spoon Studio support.
     
  15. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    Ok, let us know.
     
  16. flatwax

    flatwax MDL Novice

    Jul 3, 2011
    16
    0
    0


    Nice! Thanks for quick response.
    Another thing;
    I tried making portable itunes 10.5 on Windows 7 32bit.
    When Trying to run it on Windows 764bit, the driver for cd writer is not working. So I downloaded the Gear Driver and extract the msi inside. Install it before running the portable iTunes. And it work. Is it possible to put the Gear Driver.msi into portable itunes and make a script to install the msi silently and then run iTunes, after closing iTunes, the gear driver will be uninstalled?
     
  17. flatwax

    flatwax MDL Novice

    Jul 3, 2011
    16
    0
    0
    #158 flatwax, Nov 16, 2011
    Last edited: Nov 16, 2011

    Portable Drivermax don't work without browser when downloading drivers. Normally if you check for new drivers using it, it will open the default browser and display all drivers for your computer. When you try to download it let say firefox, it will open the download menu and ask you what to do after downloading the file and of course you will choose to open it with Drivermax agent. So capturing drivermax + Browser is the way to go then Exebuilder it.


    PS. Just tried it now. Sorry, Portable Drivermax without Browser works with Spoon studio. But for Thinstall, it doesn't work.
    Anyone tried to download driver with drivermax and install it? installing failed here.
     
  18. johnmcloud

    johnmcloud MDL Junior Member

    Jul 10, 2011
    97
    6
    0
    It's possible but not as you think. You need an external script in C or another language like AutoIt and the DevCon utilities for install/uninstall the driver, Spoon Studio and other software can't make a driver portable and you need a specific script for make this.
    Do you want my advice? Simply install the driver and live happy :D
     
  19. a_catalin

    a_catalin MDL Member

    Mar 4, 2011
    166
    66
    10
    #160 a_catalin, Nov 17, 2011
    Last edited: Nov 17, 2011
    (OP)
    I received this reply from Spooon Studio support:

    It works but with a small modification: the name of the file should be c.bat or c.cmd.
    And, when you start the program, c.bat/c.cmd will "flash" briefly but I think it's not such a big problem...

    Later edit: if you want I will make a small exe for this which will show nothing when you start it.