ClickOnce deployment to Vista 64 bit problems

M

Martin Horner

Hello Folks,

Has anyone had any experience deploying to Vista 64 bit OS using ClickOnce?
We are having problems with two development machines where Visual Studio
2008 is already installed.
The application in question has Crystal Reports Basic for Visual Studio
(x86,x64) selected as a prerequisite. The machines in question have Crystal
Reports Basic for Visual Studio (x64) installed and working OK.



The first problem we encounter is that ClickOnce does not recognise the
existing installation and attempts to install the Crystal Reports Basic
runtime again. Then to make matters worse the installation fails with this
message"



Component Crystal Reports Basic for Visual Studio 2008 (x86, x64) has failed
to install with the following error message:

"Fatal error during installation.

The following components failed to install:

- Crystal Reports Basic for Visual Studio 2008 (x86, x64)

See the setup log file located at
'C:\Users\martinh\AppData\Local\Temp\VSDB500.tmp\install.log' for more
information.



There is a whole lot of stuff in the install.log but it ends with these
lines:



Installing using command 'C:\Windows\SysWOW64\msiexec.exe' and parameters
' -I
"C:\Users\martinh\AppData\Local\Temp\VSDB500.tmp\CrystalReports10_5\CRRedist2008_x64.msi"
-q /norestart'

Will attempt to elevate process.

Process exited with code 1603

Status of package 'Crystal Reports Basic for Visual Studio 2008 (x86, x64)'
after install is 'InstallFailed'



Now all this happens even if the publishing machine and the ClickOnce
deployment machines are the same. It looks to me like a permissions problem
but how can this be? I actually have administrator privileges in this
domain. Can anyone point me in the right direction on this one?



Thanks

Martin
 
L

Linda Liu[MSFT]

Hi Martin,

I haven't Windows Vista 64 bit OS, so I couldn't perform a test so far. But
I performed a test on Vista 32 bit OS. The result is that the "Crystal
Reports Basic for Vista Studio 2008 x86" is installed successfully on my
Vista 32 bit machine when I install the ClickOnce application.

In my test, I include the "Crystal Reports Basic for Visual Studio 2008"
component in the same location as my application and publish the ClickOnce
application to a Web site.

Then I browse the publish.htm web page from the client machine(Vista 32
bit). Click the "Install" button on the web page and I get a "File Download
- Security Warning" dialog.

Click the "Run" button and a "Internet Explorer - Security Warning" dialog
appears asking "The publisher could not be verified. Are you sure you want
to run this sofware? Name: setup.exe Publisher: Unknown Publisher".

Click the "Run" button and a dialog shows presenting the EULA for the
components to be installed. Click the "Accept" button and the components
are installed on the client machine without any problem.

In your scenario, if you uninstall the "Crystal Reports Basic for Visual
Studio 2008" component from the client machine first, can you install the
component successfully when installing the ClickOnce application?

You may also have a try turning off the UAC on the client Vista machine to
see if the problem still exists. To do this, open the "User Accounts" from
the Control Panel and click the "Turn Use Account Control on or off" link.

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
L

Linda Liu[MSFT]

Hi Martin,

How about the problem now?

If you need our further assistance, please feel free to let me know.

Thank you for using our MSDN Managed Newsgroup Support Service!

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
M

Martin H

Hello Linda,

Thanks for your help and I am sorry for seeming to ignore this. I thought
that my previous reply had been posted OK but I see that it has not.

Uninstalling Crystal Reports Basic for Visual Studio
(x86,x64) appeared to fix the problem as the deployment behaved just the
same as it does on our XP and 200 machines and as you described it on Vista
32 bit. However some further testing revealed that ClickOnce will install
from the CR msi every time that a new version of the app is deployed. I am
sure that it does not recognise that the 64 bit runtime is deployed - maybe
it is checking for the 32 bit runtime instead?

I am wondering now whether the best solution is to remove Crystal from list
of prerequisites and just handle any errors if the runtime is unavailable.
What do you think?

Martin
 
L

Linda Liu[MSFT]

Hi Martin,

Thank you for your reply!
However some further testing revealed that ClickOnce will install from
the CR msi every time that a new version of the app is deployed.

I performed tests on Vista 32 bit machine, but didn't reproduce the problem.

If the Crystal Reports Basic component has been installed on the client
machine(Vista 32bit), ClickOnce doesn't install the Crystal Reports Basic
component when a new version of the application is deployed.
I am wondering now whether the best solution is to remove Crystal from
list of prerequisites and just handle any errors if the runtime is
unavailable. What do you think?

IMO, this is a deployment problem and we'd better not let the application
handle the errors.

Could you please tell me the version of Vista on your machine? I will
perform tests on Vista 64bit later to see if I can reproduce the problem on
my side.

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
L

Linda Liu[MSFT]

Hi Martin,

How about the problem now?

If the problem still exists, please tell me the version of Windows Vista on
your machine and I will perform tests on this OS version to see if I can
reproduce the problem on my side.

I look forward to your reply!

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
M

Martin H

Hello Linda,

Yes, Crystal still gets deployed every time there is a new version deployed.
I am running Vista 64 Vista Business with SP1 installed. I hope that you can
reproduce the problem.

Thank you.
 
L

Linda Liu[MSFT]

Hi Martin,

Thank you for your reply!

I performed a test on a Windows Vista Business 64bit machine and did
reproduce the problem on my side. When a new version is available and I
click the "Install" button on the publish web page, the Crystal Report
Basic component always gets installed, no matter whether this component has
been installed on the client machine or not.

IMO, the problem is caused by the setup.exe which doesn't detect the
installation state of the Crytal Report Basic component on the client
machine correctly.

An workaround is to launch the ClickOnce application from the Start menu
directly. If there's a newer version available, it will perform an upgrade
automatically without installing the prerequisites.

I will forward this problem to our product team. As soon as I get a reply,
I will update it to you. I appreciate your patience.

Thank you for reporting this issue to us.

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
M

Martin H

Hello Linda,

Thanks I am glad that you were able to reproduce this and pass it on to the
product team. I will test out the workaround although I do normally start the
application from the Start menu directly.

I will look forward to hearing from you when you hear from the product team.
 
L

Linda Liu[MSFT]

Hi Martin,

We have reported this issue to our product team. As soon as I get any news,
I will update to you.

I appreciate your patience!

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
L

Linda Liu[MSFT]

Hi Martin,

I get a reply from our product team. We plan to treat this issue as a bug
for VS2008 SP1.

Currently, the workaround is to launch the ClickOnce application from the
Start menu directly if it has been installed. If there's a newer version
available, it will perform an upgrade automatically without installing the
prerequisites.

Thank you for reporting this issue to us. It will definitely improve our
product.

If you have any other concern, please feel free to let me know.

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
L

Linda Liu[MSFT]

Hi Martin,

After doing more reseach on this issue, we found the reason of this problem
at last.

On your development machine, open the C:\Program Files\Microsoft
SDKs\Windows\v6.0\Bootstrapper\Packages\CrystalReports10_5\product.xml. You
can see the 3rd entry in the <InstallChecks> section of the product.xml
contains a period (".") and a space at the end of the "Product=" string.

Remove the period and space and then publish your ClickOnce application
again. You should see the problem is fixed.

I have already tried this, and it works well on my side. Please try my
suggestion and let me know the result.

I look forward to your reply!

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
L

Linda Liu[MSFT]

Hi Martin,

Thank you for your feedback! I'm glad to hear that the problem is solved
now.

Thank you for reporting this issue to us. It will definitely improve our
product.

If you have any other questions in the future, please don't hesitate to
contact us. It's always our pleasure to be of assistance.

Have a nice day!

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top