Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Windows Installer issue on 64-bit system
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pertulator  
View profile  
 More options Oct 30, 12:14 am
Newsgroups: microsoft.public.platformsdk.msi
From: Pertulator <igor....@gmail.com>
Date: Thu, 29 Oct 2009 06:14:39 -0700 (PDT)
Local: Fri, Oct 30 2009 12:14 am
Subject: Windows Installer issue on 64-bit system
I have a problem with Windows Installer under 64-bit Vista system.
My installer package need to install some files to system printer
drivers directory. So i created custom action procedure which calls
GetPrinterDriverDirectory API and stores its return value (for example
C:\Windows\system32\spool\DRIVERS\x64) to PrinterDriverDirectory
property.
PrinterDriverDirectory property is used as installation directory by
those components which neeed to be installed to printer drivers
directory.
When installation runs on 32-bit systems all this works fine and files
are installed correctly to printer drivers directory.
But when i run installation on 64-bit Vista system something goes
wrong: my files are installed to C:\Windows\SysWow64\spool\DRIVERS\x64
directory instead of C:\Windows\system32\spool\DRIVERS\x64. So later
AddPrinterDriver API fails because it cannot find printer driver
files.
I know there is File System Redirector in 64-bit versions of Windows
which redirects 32-bit applications from %windir%\System32 directory
to %windir%\SysWow64 directory. But MSDN says %windir%\system32\spool
directory is an exception and is not redirected (http://
msdn.microsoft.com/en-us/library/aa384187(VS.85).aspx).
I have 32-bit file manager (far.exe) so i can check if some directory
is redirected or not for 32-bit application. When i open %windir%
\system32\spool directory in Far file manager it is not redirected to
%windir%\SysWow64\spool directory (this behaviour agrees with what
MSDN says). But when windows installer service installs my package it
looks like system32\spool is redirected to SysWow64\spool !!! Is this
a bug in windows installer service?

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wilson, Phil  
View profile  
 More options Oct 30, 9:58 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Wilson, Phil" <ph...@wonderware.nospam.com>
Date: Thu, 29 Oct 2009 15:58:23 -0700
Local: Fri, Oct 30 2009 9:58 am
Subject: Re: Windows Installer issue on 64-bit system
I think you really need a proper native 64-bit install as well as a 32-bit
install. The redirector is triggered depending on whether the component is
marked as a 32 or 64-bit one, that'a likely to be something to do with what
you're seeing:

http://blogs.msdn.com/heaths/archive/2005/10/24/484266.aspx

and

http://blogs.msdn.com/heaths/archive/2008/01/15/different-packages-ar...

--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972

"Pertulator" <igor....@gmail.com> wrote in message

news:0d218a6b-6cc1-40f1-9c40-af699f3567b1@j24g2000yqa.googlegroups.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pertulator  
View profile  
 More options Nov 25, 9:48 pm
Newsgroups: microsoft.public.platformsdk.msi
From: Pertulator <igor....@gmail.com>
Date: Wed, 25 Nov 2009 02:48:49 -0800 (PST)
Local: Wed, Nov 25 2009 9:48 pm
Subject: Re: Windows Installer issue on 64-bit system
Yes, my installer it a 32-bit one. And my components are not marked as
64-bit. So it should be installed with redirector turned on. Right?
But my components are installed to %windir%\system32\spool directory
which is not redirected for 32-bit applications (http://
msdn.microsoft.com/en-us/library/aa384187(VS.85).aspx).
So it looks like windows installer on 64-bit platform uses its own
redirection implementation which is not the same as Windows's File
System Redirector. I think this is a bug in windows installer service.

On Oct 30, 12:58 am, "Wilson, Phil" <ph...@wonderware.nospam.com>
wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google