PDA

View Full Version : ATTN: Friedrich - %PROGRAMFILESDIR% Question



NewsArchive
10-25-2009, 03:42 AM
Hi Friedrich,
When I was getting the initial problems out of the way last time I posted
here - it was concerning installing the SQL Server Native Client -
"SQLNCLI.MSI".

When I had my app installing into : C:\TSPRO - the msi installed w/o
problems. But, now I am in the middle of making the app more Microsoft
Standard, by using the Program Files folder. But, now the msi will not
install.

I changed the install folder back to C:\TSPRO and I can once again install
the sqlncli.msi w/o problems.

Can you please shed some light on this?

Thanks,
Don
Krontz Media

NewsArchive
10-25-2009, 03:43 AM
Nevermind Friedrich.
I resolved it by copying the sqlncli.msi to %TMPDIR% and running it there -
works great and allows me to stick to the new standards.

thanks,
Don
Krontz Media

NewsArchive
10-26-2009, 02:19 AM
Hi Don,

>
> Can you please shed some light on this?
>

As far as I know, an UAC-aware operating system is not in the list of
supported Windows versions for the Microsoft SQL Server 2005 compatible
SQLNCLI.MSI. So I assume, the MSI itself is not UAC-aware. The error code
returned from the MSI can provide more information.

But what you have done is the correct way. Because you only need
"SQLNCLI.MSI" as part of your installation, you do NOT install it. You add
it as a "Support File" or you use the "Install File(s)" function to copy it
into the temporary Windows folder and call it from there. If you use
"Install File(s)" to handle this, you should disable the "Uninstall" option
and remove the file at the end of the installation. "Support File" handles
this automatically, but increases the startup time of the setup.exe.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
10-26-2009, 02:20 AM
And of course, it's also possible that you forgot to add double-quotes
around your SQLNCLI.MSI <g>

If you install to "c:\program files" then Windows needs double-quotes around
the MSI file to be executed.

The following should work:

C:\TSPRO\SQLNCLI.MSI

But this will never work:

C:\Program Files\TSPRO\SQLNCLI.MSI

It should be:

"C:\Program Files\TSPRO\SQLNCLI.MSI"

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
10-26-2009, 02:20 AM
Hi Friedrich,

> If you install to "c:\program files" then Windows needs double-quotes around
> the MSI file to be executed.

The double quotes thing has bitten me so often that by now I double quote
everything, including myself<g>

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
10-26-2009, 02:21 AM
Arnor

>The double quotes thing has bitten me so often that by now I double quote
>everything, including myself<g>

Can I quote you on that? :¬)

Safely back in Perth and enjoyed catching up with y'all last week.

JohnG

NewsArchive
10-26-2009, 02:21 AM
Hi John,

> Can I quote you on that? :¬)

Sure can;)

> Safely back in Perth and enjoyed catching up with y'all last week.

Yes, we had a great time and hope you did too:)

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
10-26-2009, 02:22 AM
Hi Friedrich,
>
> If you install to "c:\program files" then Windows needs double-quotes
> around the MSI file to be executed.
>
Thanks. And after looking at Arnor's response - I will definitely remember
this. Thanks to you also Arnor.

Don
Krontz Media

NewsArchive
10-27-2009, 02:28 AM
>Yes, we had a great time and hope you did too:)

Yep. Did it stop raining yet?

JohnG

NewsArchive
10-27-2009, 02:28 AM
Hi John,

> Yep. Did it stop raining yet?

Yes - and no<g> We've had some rain, but we've also had some sun. The sun
is shining bright at the moment, but it was raining last night.

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php