views:

164

answers:

2

hello i have created one windows application in c# .net and its working fine in windows xp, but when i try to install the setup in windows 7 or vista,the setup never runs.. should i have to write some code for it...?

please help

Thanks & Regards

Deepu

A: 

Make sure you installed the correct version of .net Framework on your box.

sza
yh...it have the framework....but when i installed in a xp system having no .net it automatically try to download the framework, here in windows 7 there is no respone....
deepu
+1  A: 

Assuming your installer is an MSI, turn logging on to find out why.

msiexec NameOfYour.msi /l*v log.txt
Si
sorry i didnt get u...the setup works fine in xp...but when i try to install in vista or 7 nothing happenss..
deepu
*exactly* :) You said - "when i try to install the setup" ... so if something is going wrong during setup, and your setup program (the .msi or .exe installer) is built to work with Microsoft Installer (MSI), then turning on MSI logging may help pinpoint your problem.
Si
thankz for the information, i built the setup using the visual studio publish method..should there any other method to built setup.which will be compatable in all window version
deepu
Perhaps we're talking about different things. "Publish" is typically associated with asp.net web projects, it compiles and copies project output somewhere (local filesystem, http, ftp). "Setup" projects are separate from asp.net web projects, and create an installer (.msi) based on web project. I'm not sure whether you're publishing an asp.net web site, or creating a setup installer.
Si
thanks Si for the valuable information...
deepu