DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Alex Yakhnin Guest

    For adventurous souls


    How-to try your .net programs on a not .net systems?

    Here is excerpt from dotnet mail list
    (http://discuss.develop.com/archives/...t&F=&S=&P=1606).
    Worked for me!


    Step 1)
    Copy mscoree.dll and msvcr70.dll from your winnt/system32 directory to the
    directory of your program (so windows can find the files, you can copy these
    in the system directory of win 98 if you want, but you dont have to)

    Step 2)
    Export the Following Registry Keys:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COMPlus]
    And change their values (on the client (non-sdk) machine)
    to a 'base' directory
    (In My Case:
    "InstallRoot"="E:\WINNT\Microsoft.NET\Framework"
    "Version"="v1.0.2204"
    "sdkInstallRoot"="E:\Program Files\Microsoft.Net\FrameworkSDK"
    "sdkSamplesRoot"="E:\Program Files\Microsoft.Net\FrameworkSDK\Samples"

    became

    "InstallRoot"="D:\Base"
    "Version"="v1.0.2204"
    "sdkInstallRoot"="D:\Base"
    "sdkSamplesRoot"="D:\Base"
    )

    Step 3)
    Make a directory called 'v1.0.2204' in the 'base' directory

    Step 4)
    Copy the following files from your \WINNT\Microsoft.NET\Framework\v1.0.2204
    Directory to that directory:

    mscorwks.dll
    mscorlib.dll
    gdiplus.dll
    mscorjit.dll
    fusion.dll
    sortkey.nlp
    culture.nlp
    sorttbls.nlp

    Step 5)
    Copy all files to that directory which your program needs (all files you
    link
    against (the /r:blah.dll in csc)

    so in my case these were:

    System.dll
    System.Drawing.dll
    System.WinForms.dll
    System.Net.dll
    Microsoft.Win32.Interop.dll

    If this doesn't work, copy the entire
    \WINNT\Microsoft.NET\Framework\v1.0.2204
    directory to the 'base' directory, run your program (which should work),
    and
    start deleting files from the 'base' directory, because windows locks the
    files
    which are needed for execution, you cannot delete those files, which leaves
    you with the bare minimum

    see, not so hard at all. Enjoy.


  2. #2
    Michael \(michka\) Kaplan Guest

    Re: For adventurous souls

    Install the framework on them.

    --
    MichKa

    a new book on internationalization in VB at
    http://www.i18nWithVB.com/

    <Alex Yakhnin> wrote in message news:3a311297$1@news.devx.com...
    >
    > How-to try your .net programs on a not .net systems?
    >
    > Here is excerpt from dotnet mail list
    >

    (http://discuss.develop.com/archives/...et&F=&S=&P=160
    6).
    > Worked for me!
    >
    >
    > Step 1)
    > Copy mscoree.dll and msvcr70.dll from your winnt/system32 directory to the
    > directory of your program (so windows can find the files, you can copy

    these
    > in the system directory of win 98 if you want, but you dont have to)
    >
    > Step 2)
    > Export the Following Registry Keys:
    > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COMPlus]
    > And change their values (on the client (non-sdk) machine)
    > to a 'base' directory
    > (In My Case:
    > "InstallRoot"="E:\WINNT\Microsoft.NET\Framework"
    > "Version"="v1.0.2204"
    > "sdkInstallRoot"="E:\Program Files\Microsoft.Net\FrameworkSDK"
    > "sdkSamplesRoot"="E:\Program Files\Microsoft.Net\FrameworkSDK\Samples"
    >
    > became
    >
    > "InstallRoot"="D:\Base"
    > "Version"="v1.0.2204"
    > "sdkInstallRoot"="D:\Base"
    > "sdkSamplesRoot"="D:\Base"
    > )
    >
    > Step 3)
    > Make a directory called 'v1.0.2204' in the 'base' directory
    >
    > Step 4)
    > Copy the following files from your

    \WINNT\Microsoft.NET\Framework\v1.0.2204
    > Directory to that directory:
    >
    > mscorwks.dll
    > mscorlib.dll
    > gdiplus.dll
    > mscorjit.dll
    > fusion.dll
    > sortkey.nlp
    > culture.nlp
    > sorttbls.nlp
    >
    > Step 5)
    > Copy all files to that directory which your program needs (all files you
    > link
    > against (the /r:blah.dll in csc)
    >
    > so in my case these were:
    >
    > System.dll
    > System.Drawing.dll
    > System.WinForms.dll
    > System.Net.dll
    > Microsoft.Win32.Interop.dll
    >
    > If this doesn't work, copy the entire
    > \WINNT\Microsoft.NET\Framework\v1.0.2204
    > directory to the 'base' directory, run your program (which should work),
    > and
    > start deleting files from the 'base' directory, because windows locks the
    > files
    > which are needed for execution, you cannot delete those files, which

    leaves
    > you with the bare minimum
    >
    > see, not so hard at all. Enjoy.
    >




  3. #3
    Patrick Steele Guest

    Re: For adventurous souls

    In article <3a311fab@news.devx.com>, "Michael \(michka\) Kaplan"
    <former_mvp@spamfree.trigeminal.nospam.com> says...
    > Install the framework on them.


    I think Alex's post was to point out a less-intrusive option to a full
    framework install.

    --
    Patrick Steele
    (patrick@neovisionsystems.com)
    http://www.neovisionsystems.com
    Microsoft MCP

  4. #4
    Michael \(michka\) Kaplan Guest

    Re: For adventurous souls

    Well, there isn't one. In fact, its unclear whether there will ever be one
    (I think MS is relying on everyone just *having* the framework).

    --
    MichKa

    a new book on internationalization in VB at
    http://www.i18nWithVB.com/

    "Patrick Steele" <patrick@neovisionsystems.com> wrote in message
    news:MPG.149aed3fea4bec5d9896d3@news.devx.com...
    > In article <3a311fab@news.devx.com>, "Michael \(michka\) Kaplan"
    > <former_mvp@spamfree.trigeminal.nospam.com> says...
    > > Install the framework on them.

    >
    > I think Alex's post was to point out a less-intrusive option to a full
    > framework install.
    >
    > --
    > Patrick Steele
    > (patrick@neovisionsystems.com)
    > http://www.neovisionsystems.com
    > Microsoft MCP




  5. #5
    Patrick Steele Guest

    Re: For adventurous souls

    In article <3a312f7b$1@news.devx.com>, "Michael \(michka\) Kaplan"
    <former_mvp@spamfree.trigeminal.nospam.com> says...
    > Well, there isn't one.


    Yes, there is. For the "adventerous souls" (like the subject says), try
    the steps outlined in the message at the beginning of this thread.

    > In fact, its unclear whether there will ever be one
    > (I think MS is relying on everyone just *having* the framework).


    Yes. Or if they don't, MS is expecting them to *download!* it... :O

    --
    Patrick Steele
    (patrick@neovisionsystems.com)
    http://www.neovisionsystems.com
    Microsoft MCP

  6. #6
    espin0za Guest

    Re: For adventurous souls


    Can't you simply run comredist.msi?

    Works on NT...


    "Alex Yakhnin" wrote:
    >
    >How-to try your .net programs on a not .net systems?
    >
    >Here is excerpt from dotnet mail list
    >(http://discuss.develop.com/archives/...t&F=&S=&P=1606).
    >Worked for me!
    >
    >
    >Step 1)
    >Copy mscoree.dll and msvcr70.dll from your winnt/system32 directory to the
    >directory of your program (so windows can find the files, you can copy these
    >in the system directory of win 98 if you want, but you dont have to)
    >
    >Step 2)
    >Export the Following Registry Keys:
    >[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COMPlus]
    >And change their values (on the client (non-sdk) machine)
    >to a 'base' directory
    >(In My Case:
    >"InstallRoot"="E:\WINNT\Microsoft.NET\Framework"
    >"Version"="v1.0.2204"
    >"sdkInstallRoot"="E:\Program Files\Microsoft.Net\FrameworkSDK"
    >"sdkSamplesRoot"="E:\Program Files\Microsoft.Net\FrameworkSDK\Samples"
    >
    >became
    >
    >"InstallRoot"="D:\Base"
    >"Version"="v1.0.2204"
    >"sdkInstallRoot"="D:\Base"
    >"sdkSamplesRoot"="D:\Base"
    >)
    >
    >Step 3)
    >Make a directory called 'v1.0.2204' in the 'base' directory
    >
    >Step 4)
    >Copy the following files from your \WINNT\Microsoft.NET\Framework\v1.0.2204
    >Directory to that directory:
    >
    >mscorwks.dll
    >mscorlib.dll
    >gdiplus.dll
    >mscorjit.dll
    >fusion.dll
    >sortkey.nlp
    >culture.nlp
    >sorttbls.nlp
    >
    >Step 5)
    >Copy all files to that directory which your program needs (all files you
    >link
    >against (the /r:blah.dll in csc)
    >
    >so in my case these were:
    >
    >System.dll
    >System.Drawing.dll
    >System.WinForms.dll
    >System.Net.dll
    >Microsoft.Win32.Interop.dll
    >
    >If this doesn't work, copy the entire
    >\WINNT\Microsoft.NET\Framework\v1.0.2204
    >directory to the 'base' directory, run your program (which should work),
    >and
    >start deleting files from the 'base' directory, because windows locks the
    >files
    >which are needed for execution, you cannot delete those files, which leaves
    >you with the bare minimum
    >
    >see, not so hard at all. Enjoy.
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links