SQL Server CE and Windows Seven x64

Got a problem you cannot solve? Try here.
Post Reply
AH-NP
Posts: 46
Joined: Mon Jun 11, 2007 8:48 am

SQL Server CE and Windows Seven x64

Post by AH-NP »

Hi,

We’ve got an error when we try to install the runtime SQL CE under Windows 7 64 bit.
We use the IA scripts but we have changed the English runtime with the French one.
It works for all OS (including vista 64 and Seven 32 bits) but with windows 7 64 bits we’ve got an error (“please use Windows update”) when the SQL Server setup is launched.
The same setup with the English runtimes works under windows 7 64 bits.
I’ve tried to install the French runtime outside IA and it works.
(I also tried to install it with /q to make a silent install and it works to).

Do you have any idea ?

Thanks

AH-NP
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Try to run it non-silently but with the same command line parameters to see what is failing.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
AH-NP
Posts: 46
Joined: Mon Jun 11, 2007 8:48 am

Post by AH-NP »

Hi,

First of all, I‘ve made a mistake, the same setup with English runtimes doesn’t work to ! (sorry…)
So I’ve done the following tests this morning :
I have created a simple project and call the IA script to install the SQL CE runtimes and it worked with English and French ones.
(runtimes where installed as prerequisites).

In my setup, runtimes are installed after the user interview, in the “perform first time installation” because the user can choose if SQL CE will be installed or not.
If I use the command “Install MSI Setup” I’ve got the error.
If I use the Run Program command (with the /q install or not) it works.

So I think that the problem is when we call the install msi setup during the install.

Thanks
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

It shouldn't matter where you call it at all - why not run it non-silently so you can see what the problem is, or log the SQL Server installation itself. Also make sure you are not passing /qn to (Un)Install MSI Setup as that is an invalid parameter to the MSI engine (its for the command line front-end to the Windows Installer engine only).
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
AH-NP
Posts: 46
Joined: Mon Jun 11, 2007 8:48 am

Post by AH-NP »

Sorry, perhaps I don't understand...
I can't choose if I perform a silent install or not with the command Install/Remove MSI package...
The only parameter is ADDLOCAL=ALL
So to test without the silent install, I've launched my SQL CE setup with the command “Run Program”.
If I do that, the SQL CE setup is launched correctly and I can install it so I can’t have error message.

This Works :
Define File Bag : #IADIR#\\runtimes\\sqlcompactsp1bin\\SSCERuntime-FRA-x86.msi, get runtime location of files into variable SQL35SP1FILES
Run Program $SQL35SP1FILES$\\SSCERuntime-FRA-x86.msi /q (WAIT, get result into variable SQL35SP1)

And This doesn’t work :
Define File Bag : #IADIR#\\runtimes\\sqlcompactsp1bin\\SSCERuntime-FRA-x86.msi, get runtime location of files into variable SQL35SP1FILES
Install/Remove MSI Package $SQL35SP1FILES$\\SSCERuntime-FRA-x86.msi[ADDLOCAL=ALL] (get result into variable SQL35SP1)

I hope that is clearer with the code …
:oops:
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Oh right - but don't you get an error message or failure condition through (Un)Install MSI Setup in your setup progress dialog?

Log it - that should tell you more.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
AH-NP
Posts: 46
Joined: Mon Jun 11, 2007 8:48 am

Post by AH-NP »

I’ve tried to launch my setup with the /l command but the log file doesn’t says anything about the problem.
I’ve look inside the C:\\Program files (x86)\\ but the folder Microsoft SQL Server Compact Edition doesn't exist.
Is there a way to log the setup inside the Install/Remove MSI Package command ?

thanks
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

It's a parameter in the (Un)Install MSI Setup function call.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply