MSI failing

Questions about Wine on Linux
Locked
bugbear
Level 1
Level 1
Posts: 7
Joined: Thu Feb 27, 2014 10:44 am

MSI failing

Post by bugbear »

I am attempting to install a (rather nice) focus stacking software, CombineZP.

http://www.hadleyweb.pwp.blueyonder.co.uk/CZP/News.htm

The install procedure is to download an msi file, and run it.

I downloaded to ~/.wine/drive_c/CombineZP.msi and ran:

wine msiexec /i ~/.wine/drive_c/CombineZP.msi

This gave:

The advertised application will not be installed because
it might be unsafe; Contact your administrator to change the installation
user interface option of the package to basic


Googling this message led me to try:

wine msiexec /i ~/.wine/drive_c/CombineZP.msi /qb

But that just dropped me into the wine debugger.

I am running wine 1.6.2 under Ubuntu 14.04.

I would welcome advice or pointers.

BugBear
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: MSI failing

Post by dimesio »

Try upgrading Wine and winetricks to the latest versions, and retest in a clean wineprefix (delete the old one). If the problem persists, post terminal output.
bugbear
Level 1
Level 1
Posts: 7
Joined: Thu Feb 27, 2014 10:44 am

Re: MSI failing

Post by bugbear »

dimesio wrote:Try upgrading Wine and winetricks to the latest versions, and retest in a clean wineprefix (delete the old one). If the problem persists, post terminal output.
I had already (acting on a hunch) cleaned out ~/.wine and it worked for me.

Thanks for the hint. The "hang over" was due to upgrading Ubuntu 12 to Ubuntu 14.

I'm now wrestling with a quite different issue, further down the line.

BugBear
bugbear
Level 1
Level 1
Posts: 7
Joined: Thu Feb 27, 2014 10:44 am

Re: MSI failing

Post by bugbear »

The fault I'm now encountering is in the actual running of the application,
which start up successfully.

http://www.hadleyweb.pwp.blueyonder.co. ... lation.htm

I selected a set of JPEG images (straight out of my old, common Canon
A630 camera), and attempted to load them.

The application said:

Can't open this file, it may be an unsupported format. Allowed
formats are 8 bit per channel .bmp .jpg .jpeg .gif .tif .tiff and .png
colour or monochrome images.


Now, this is of course absurd.

I suspect that the software is relying on run-time codecs, that are ALWAYS
present on a full windows install, but are presently missing from my wine.

Googling showed that a common such a DLL is gdiplus.dll,
but the application installed it's own copy of that.

Advice welcomed, on either diagnosis or cure.

BugBear
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: MSI failing

Post by dimesio »

The app may have installed its own gdiplus, but Wine won't use it unless you set an override for it in winecfg.

Post terminal output. http://wiki.winehq.org/FAQ#get_log
bugbear
Level 1
Level 1
Posts: 7
Joined: Thu Feb 27, 2014 10:44 am

Re: MSI failing

Post by bugbear »

dimesio wrote:The app may have installed its own gdiplus, but Wine won't use it unless you set an override for it in winecfg.

Post terminal output. http://wiki.winehq.org/FAQ#get_log
I don't think I have symbols, as per:

Important: If the resulting text file doesn't have names of C source files in it, your copy of wine probably lacks debugging symbols. Please either build wine from source, or install the debug symbols package. (In Ubuntu, the debug symbols for package wine1.4 are in package wine1.4-dbg.)

This package does not exist under Ubuntu 14.04; the nearest seems to be wine-dev, which I installed.

The resulting log file is:

Code: Select all

fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x00000010
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x19667c,0x191850): stub
BugBear
bugbear
Level 1
Level 1
Posts: 7
Joined: Thu Feb 27, 2014 10:44 am

Re: MSI failing

Post by bugbear »

Apols; whilst "wine" and "wine-dev" are automatically promoted into wine1.6 and wine1.6-dev, it appears that I have to explicitly name wine1.6-dbg to install it; wine-dbg doesn't do anything.

Which I have done. Log is:

Code: Select all

fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x00000010
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x199044,0x1866c8): stub
That appears to be unaltered...

BugBear
bugbear
Level 1
Level 1
Posts: 7
Joined: Thu Feb 27, 2014 10:44 am

Re: MSI failing

Post by bugbear »

dimesio wrote:The app may have installed its own gdiplus, but Wine won't use it unless you set an override for it in winecfg.

Post terminal output. http://wiki.winehq.org/FAQ#get_log
It turns out (in this rare case) I should have gone straight for the solution instead of diagnosis followed by solution.

Lacking other options or advice, I "just tried" using winecfg->libraries to add an override of "gdiplus (native, builtin)".

CombineZP now loads my image files successfully.

BugBear
bugbear
Level 1
Level 1
Posts: 7
Joined: Thu Feb 27, 2014 10:44 am

Re: MSI failing

Post by bugbear »

bugbear wrote:

CombineZP now loads my image files successfully.

BugBear
But the "help" button doesn't work (do anything at all).

Could this be another missing DLL ?

BugBear
Locked