[SLUG] Wine & setup

2005-04-04 Thread Alan L Tyree
I have a windows based CD that I would like to install and use with
Wine. The setup.exe prog crashes.

What's the best way to proceed? is there anyway to extract and install
without using the setup.exe program?

Thanks for help.
Alan

-- 
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Wine & setup

2005-04-04 Thread telford
On Tue, Apr 05, 2005 at 01:09:18PM +1000, Alan L Tyree wrote:
> I have a windows based CD that I would like to install and use with
> Wine. The setup.exe prog crashes.
> 
> What's the best way to proceed? is there anyway to extract and install
> without using the setup.exe program?

If you have a spare Microsoft box which is relatively clean you can
do the setup on that box, then move the files across yourself BUT
don't just go right ahead and do the setup... do it this way:

 * Get a list of all the files on the Microsoft machine (before install)

  DIR /S C:\ > files1.txt

 * Dump out the entire registry as a text file (using regedit, before install)

 * Do the install

 * Get a new list of all the files

  DIR /S C:\ > files2.txt

 * Dump the entire registry as a different text file (again, using regedit)

Now you need to get those dump files onto a linux box and use diff:

 $ diff files1.txt files2.txt | less
 $ diff dump1.reg dump2.reg | less

Hopefully, that tells you what files you need, hopefully they aren't
scattered about the place too much. Note that some registry settings
may be keyed to a particular machine, some may be encrypted or encoded
in some hex encoding. This isn't a guaranteed method but it gives you
a fighting chance.

Also note that if you install the cygwin environment on the Microsoft
machine then you can use "find" to scan out the files which is better
than "DIR /S" also then you get "diff" and "less" without needing to
swap back and forth to Linux.

- Tel  ( http://bespoke.homelinux.net/ )
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Wine & setup

2005-04-04 Thread James Gregory
On Tue, 2005-04-05 at 13:09 +1000, Alan L Tyree wrote:
> I have a windows based CD that I would like to install and use with
> Wine. The setup.exe prog crashes.
> 
> What's the best way to proceed? is there anyway to extract and install
> without using the setup.exe program?

There's a number of ways; it's highly dependent on how the setup.exe
program works. However, I happened to be looking into something for
entirely separate reasons just last night and discovered this:

http://support.microsoft.com/default.aspx?scid=kb;en-us;257718

Which might help you out. IIRC, the MSI installer program (instmsi.exe)
does run under wine, so getting an MSI file should be enough to get you
up and running.

All that said, there might be an easier way depending on your app. What
wine version? What program? What type of installer is it? (nullsoft,
installshield, etc).

HTH,

James.

-- 
My love burns for you
A Thermonuclear rose
Now lets go make out
  -- http://www.solardeathray.com/rose.html


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Wine & setup

2005-04-04 Thread Alan L Tyree
On Tue, 05 Apr 2005 14:09:06 +1000
James Gregory <[EMAIL PROTECTED]> wrote:

> On Tue, 2005-04-05 at 13:09 +1000, Alan L Tyree wrote:
> > I have a windows based CD that I would like to install and use with
> > Wine. The setup.exe prog crashes.
> > 
> > What's the best way to proceed? is there anyway to extract and
> > install without using the setup.exe program?
> 
> There's a number of ways; it's highly dependent on how the setup.exe
> program works. However, I happened to be looking into something for
> entirely separate reasons just last night and discovered this:
> 
> http://support.microsoft.com/default.aspx?scid=kb;en-us;257718
> 
> Which might help you out. IIRC, the MSI installer program
> (instmsi.exe) does run under wine, so getting an MSI file should be
> enough to get you up and running.
Wine 20050310 in Debian Sarge. The disk is a legal thing from LexisNexis
(we had some discussions about it earlier). 

Thanks. I'll give the other stuff a try and see what happens.

Cheers,
Alan



> 
> All that said, there might be an easier way depending on your app.
> What wine version? What program? What type of installer is it?
> (nullsoft, installshield, etc).
> 
> HTH,
> 
> James.
> 
> -- 
> My love burns for you
> A Thermonuclear rose
> Now lets go make out
>   -- http://www.solardeathray.com/rose.html
> 


-- 
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Wine & setup

2005-04-04 Thread Alan L Tyree
On Tue, 05 Apr 2005 14:09:06 +1000
James Gregory <[EMAIL PROTECTED]> wrote:

> On Tue, 2005-04-05 at 13:09 +1000, Alan L Tyree wrote:
> > I have a windows based CD that I would like to install and use with
> > Wine. The setup.exe prog crashes.
> > 
> > What's the best way to proceed? is there anyway to extract and
> > install without using the setup.exe program?
> 
> There's a number of ways; it's highly dependent on how the setup.exe
> program works. However, I happened to be looking into something for
> entirely separate reasons just last night and discovered this:
> 
> http://support.microsoft.com/default.aspx?scid=kb;en-us;257718
> 
> Which might help you out. IIRC, the MSI installer program
> (instmsi.exe) does run under wine, so getting an MSI file should be
> enough to get you up and running.
> 
> All that said, there might be an easier way depending on your app.
> What wine version? What program? What type of installer is it?
> (nullsoft, installshield, etc).

I don't know what kind of installer it is: here is a list of the files:
[EMAIL PROTECTED]:~$ ls /cdrom
browser.ex_
butterworths installer
butt.ico
bviews.ex_
bworth.txt
change.txt
comdlg16.ocx
compobj.dll
copy of products.lst
copyrigh.txt
cspictur.vbx
ctl3dv2.dll
custom.dct
dao2516.dll
dwordexp.dll
fewin386.dll
fewinsrv.dll
foliobmp.dll
folioenu.lex
foliohlp.ini
foliottl.dll
foliowmf.dll
frascgen.ini
frascii.dll
frascii.ini
frnfo31.dll
hitlist.dll
hitlist.ini
idmext.dll
idpwpb20.dll
idpwrn20.dll
install.txt
laingdb.dll
libstub.dll
lname.ini
micutil.dll
msg.txt
nfo
nwpmgr.ex_
nwsetup.exe
oc25.dll
ole2conv.dll
ole2disp.dll
ole2.dll
ole2nls.dll
ole2prox.dll
ole2.reg
picviews.ex_
pringrpo.ex_
products.bak
products.lst
pubmgr.ex_
qpro200.dll
readme.txt
refhlp.txt
rights
rightsmn.dll
runner.ex_
scp.dll
seargrpo.ex_
setup.exe
setup.ini
stdole.tlb
stkit416.dll
stkit432.dll
storage.dll
techhlp.txt
threed16.ocx
toascgen.ini
toascii.dll
toascii.ini
tonfo31.dll
toolbelt.dll
tortf.dll
towp52.dll
towp60.dll
towp60.ini
typelib.dll
update.txt
vaen21.olb
vb40016.dll
vbascrol.vbx
ver.dll
views.ini
vshare.386
wksetup.ex_
wscript.ex_
wwordexp.dll



> 
> HTH,
> 
> James.
> 
> -- 
> My love burns for you
> A Thermonuclear rose
> Now lets go make out
>   -- http://www.solardeathray.com/rose.html
> 


-- 
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Wine & setup

2005-04-04 Thread James Gregory
On Tue, 2005-04-05 at 14:39 +1000, Alan L Tyree wrote:
> On Tue, 05 Apr 2005 14:09:06 +1000
> James Gregory <[EMAIL PROTECTED]> wrote:
> 
> > On Tue, 2005-04-05 at 13:09 +1000, Alan L Tyree wrote:
> > > I have a windows based CD that I would like to install and use with
> > > Wine. The setup.exe prog crashes.
> > > 
> > > What's the best way to proceed? is there anyway to extract and
> > > install without using the setup.exe program?
> > 
> > There's a number of ways; it's highly dependent on how the setup.exe
> > program works. However, I happened to be looking into something for
> > entirely separate reasons just last night and discovered this:
> > 
> > http://support.microsoft.com/default.aspx?scid=kb;en-us;257718
> > 
> > Which might help you out. IIRC, the MSI installer program
> > (instmsi.exe) does run under wine, so getting an MSI file should be
> > enough to get you up and running.
> > 
> > All that said, there might be an easier way depending on your app.
> > What wine version? What program? What type of installer is it?
> > (nullsoft, installshield, etc).
> 
> I don't know what kind of installer it is: here is a list of the files:
> [EMAIL PROTECTED]:~$ ls /cdrom

> setup.exe
> stdole.tlb

Those two files make me suspect that it's InstallShield (which is pretty
likely; it's very common). InstallShield installers don't work properly
right now because of some issues with type-marshalling (the .tlb file is
the giveaway; that's the marshalled types) and dcom. Fortunately it's a
common problem, so there are some partial solutions.

I believe if you install dcom98 in your fake windows partition from
the .exe available here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=08b1ac1b-7a11-43e8-b59d-0867f9bdda66&DisplayLang=en

and copy a stdole32.tlb file from a 'real' windows partition (presumably
to somewhere under 'windows' in your fake windows directory; you'll
need to check up on that), it will work. If you search for
'installshield wine' on google, you'll find a bunch of useful
information on it.

The other option is a utility called 'i6comp', which is floating around.
It just extracts the files from an InstallShield installer. It is in
turn a windows application, but will run out of the box with wine. The
other option is preferable though, because it will actually set the
various registry entries your program will need. It's likely you'll need
to do extra tinkering if you go down the i6comp route.

HTH,

James.

-- 
My love burns for you
A Thermonuclear rose
Now lets go make out
  -- http://www.solardeathray.com/rose.html


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Wine & setup

2005-04-04 Thread Alan L Tyree
On Tue, 05 Apr 2005 15:52:18 +1000
James Gregory <[EMAIL PROTECTED]> wrote:

> On Tue, 2005-04-05 at 14:39 +1000, Alan L Tyree wrote:
> > On Tue, 05 Apr 2005 14:09:06 +1000
> > James Gregory <[EMAIL PROTECTED]> wrote:
> > 
> > > On Tue, 2005-04-05 at 13:09 +1000, Alan L Tyree wrote:
> > > > I have a windows based CD that I would like to install and use
> > > > with Wine. The setup.exe prog crashes.


> > setup.exe
> > stdole.tlb
> 
> Those two files make me suspect that it's InstallShield (which is
> pretty likely; it's very common). InstallShield installers don't work
> properly right now because of some issues with type-marshalling (the
> .tlb file is the giveaway; that's the marshalled types) and dcom.
> Fortunately it's a common problem, so there are some partial
> solutions.
> 
> I believe if you install dcom98 in your fake windows partition from
> the .exe available here:
> 
> http://www.microsoft.com/downloads/details.aspx?FamilyID=08b1ac1b-7a11-43e8-b59d-0867f9bdda66&DisplayLang=en
> 
> and copy a stdole32.tlb file from a 'real' windows partition
> (presumably to somewhere under 'windows' in your fake windows
> directory; you'll need to check up on that), it will work. If you
> search for 'installshield wine' on google, you'll find a bunch of
> useful information on it.
> 
> The other option is a utility called 'i6comp', which is floating
> around. It just extracts the files from an InstallShield installer. It
> is in turn a windows application, but will run out of the box with
> wine. The other option is preferable though, because it will actually
> set the various registry entries your program will need. It's likely
> you'll need to do extra tinkering if you go down the i6comp route.

Many thanks James. I'll give it a go and report back.

Cheers,
Alan

> 
> HTH,
> 
> James.
> 
> -- 
> My love burns for you
> A Thermonuclear rose
> Now lets go make out
>   -- http://www.solardeathray.com/rose.html
> 


-- 
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Wine & setup

2005-04-05 Thread Angus Lees
At Tue, 5 Apr 2005 13:09:18 +1000, Alan L Tyree wrote:
> I have a windows based CD that I would like to install and use with
> Wine. The setup.exe prog crashes.
> What's the best way to proceed? is there anyway to extract and install
> without using the setup.exe program?

MSI is actually one of the most difficult programs for wine to deal
with (it exercises all sorts of horrible win32 IPC mechanisms).
*Latest* wine versions have the beginnings of support for MSI,
including a custom msiexec program somewhere.

Most (non-MSI) Windows installers are either self extracting zips or
one of those .cab thingies.  Native linux extractors for these archive
formats exist and if you have some recognisable format I'd try them
next.

Failing that you can try to work out which DLL the crash is occurring
in ("bt" in the winedebugger will give you a backtrace) and perhaps
try switching to/from wine and real Windows DLLs.  Various values for
the WINEDEBUG environment variable may help here too (see manpage).

Good luck ;)

-- 
 - Gus

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html