32 Bit vs 64 Bit question
I have to install the "SQL Server Native Client" msi on the target
computers.
How can I determine via SetupBuilder what OS is running? And when I do, how
do I tell the installer which version to install?
Here's the file(s) in question:
sqlncli.msi
sqlncli_64.msi
So - you can see here what I need to do - install the correct file depending
on whether it's 32 or 64 bit.
Thanks,
Don
Krontz Media
Re: 32 Bit vs 64 Bit question
Don,
> I have to install the "SQL Server Native Client" msi on the target
> computers.
>
> How can I determine via SetupBuilder what OS is running? And when I do,
> how do I tell the installer which version to install?
>
> Here's the file(s) in question:
> sqlncli.msi
> sqlncli_64.msi
>
> So - you can see here what I need to do - install the correct file
> depending on whether it's 32 or 64 bit.
For example:
Set Variable %IS_64BIT% to FUNCTION:Get System Info(WOW64 Status)
If %IS_64BIT% Equals "1" Then
! Install your sqlncli_64.msi
Else
! Install your sqlncli.msi
End
--
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
Re: 32 Bit vs 64 Bit question
Thanks Friedrich,
Can you give me an idea on how I can get this into my script? I tried
typing directly into the script - but cannot.
What do I use to do this with?
Thanks,
Don
Krontz Media
1 Attachment(s)
Re: 32 Bit vs 64 Bit question
Re: 32 Bit vs 64 Bit question
Thanks Lee, but there are 6 lines of code there that need to get into the
script.
I've got the older version 6.9.2380, and haven't done a whole lot with it
other than what I've needed lately to package our project - which I
"thought" I had completed until the install was ran on another 64 bit
machine than my own.
I've looked thru the help on this - nothing that I could find - but I
might've missed it. I made sure to look in the help first before bugging
anyone here.
But looking at your screenshot - there's a one line variable dropdown, so
how do I get the 6 lines of code into it.
I know this seems dumb for me to ask - but I do not have much experience
with SB.
Thanks Lee for your help,
Don
Krontz Media
1 Attachment(s)
Re: 32 Bit vs 64 Bit question
Nevermind - after looking around - I think I've got it - testing now. -
attached screenshot of my script towards the end of it.
Testing it in my 64 bit VM now.
Thanks,
Don
Krontz Media
Re: 32 Bit vs 64 Bit question
Friedrich,
Tried the script - didn't install the 64 bit version of the msi in question.
But it just occurred to me that the version we have - 6.9.2380 might not
return the proper WOW64 Status for Windows 7.
So, I guess I'm stuck with maintaining 2 versions of our installer - one 32
bit, one for 64 bit.
What do you think ?
Thanks,
Don
Krontz Media
Re: 32 Bit vs 64 Bit question
Ok Friedrich, I cannot get SB to install this msi - sqlncli_64.msi.
It will install from Windows 7, but that does not help me as far as getting
it onto the users computer.
This is definitely a show stopper and we are having to stop the planned
release of our product now.
Can you please give me an idea of what to do ?
Thanks,
Don
Krontz Media
Re: 32 Bit vs 64 Bit question
Don,
> Tried the script - didn't install the 64 bit version of the msi in
> question.
> But it just occurred to me that the version we have - 6.9.2380 might not
> return the proper WOW64 Status for Windows 7.
Your old 6.9.2380 returns the proper WOW64 Status for Windows 7.
> So, I guess I'm stuck with maintaining 2 versions of our installer - one
> 32 bit, one for 64 bit.
>
> What do you think ?
No, you can install both 32-bit and 64-bit versions from the same installer.
--
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
Re: 32 Bit vs 64 Bit question
Don,
> Ok Friedrich, I cannot get SB to install this msi - sqlncli_64.msi.
> It will install from Windows 7, but that does not help me as far as
> getting it onto the users computer.
>
> This is definitely a show stopper and we are having to stop the planned
> release of our product now.
>
> Can you please give me an idea of what to do ?
Let me ask so I get it clear, what you are trying to say with the above is
that you had to stop the planned release of our product because of a
showstopper in SetupBuilder 6? Did I get that right?
What on earth does SB have to do with not being able to execute the 64-bit
version of a .msi? I would suggest to check the return value of your MSI
call and then contact Microsoft to find out why their .MSI does not install.
We are NOT developers of the sqlncli_x64.msi installer!
And that brings me to the next point. Did you already notice that you have
to launch "sqlncli_x64.msi" and not "sqlncli_64.msi"? Perhaps you missed
the "x" in x64" and that's why SetupBuilder was unable to launch the
installer?
For the records: there is no showstopper in your (completely outdated)
SetupBuilder 6.9.2380 product that would cause an issue with .MSI installers
on 64-bit Windows versions.
Regards,
--
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