PDA

Click to See Complete Forum and Search --> : Setup package problem


ZaidGS
Aug 23rd, 2003, 02:14 PM
well, i am not sure if this is a general, or just on my computer.
but for some reason, the setup packages i make dont install.
while building the setup pakage this message appears:
----------------------
WARNING: This setup does not contain the .NET Framework which must be installed on the target machine by running dotnetfx.exe before this setup will install. You can find dotnetfx.exe on the Visual Studio .NET 'Windows Components Update' media. Dotnetfx.exe can be redistributed with your setup.
-----------------------

well, it does not seem a lot of trouble at first.
but when i try to install, (even on my own pc which hav framework already installed)
the setups fails.
it starts and asks me for the location, then after i press next,
it moves on to the next screen, but instead of
"setup complete message"
i have a stinky "setup incomplete" message.

tried on more than project, even the "walkthrough: deploying a windows application"
which is an msdn example failed.

what gives ???

Pirate
Aug 25th, 2003, 02:29 AM
Did you add any conditions to your proj ?

ZaidGS
Aug 25th, 2003, 04:19 AM
i did nothing but add a shortcut to desktop :)
and for the msdn example i just did exactly what they discribed.

Pirate
Aug 25th, 2003, 05:59 AM
Weird ! Can you upload your proj ?

ZaidGS
Aug 26th, 2003, 02:54 AM
now build the setup project.
if no warning is issued, and setup works well,
then the problem is not with the project itself (which i dont
think is the problem anyways)

Pirate
Aug 26th, 2003, 12:22 PM
You didn't send the setup proj ! ;)

ZaidGS
Aug 27th, 2003, 12:40 AM
well, i did, but u just had to change some directories :)
all you need is to extract both projects into same directory
ie. if you extract the zip file projects into "/projects/"
then extract setup.zip also in "/projects/" not "/projects/setup/"
or windowsapplication4.zip into "/projects/ not "/projects/windowsapplication4/" :confused: :confused:

ok, instead of this mess, here's another zip file:

and open the solution :)

Pirate
Aug 27th, 2003, 12:41 PM
It ran fine on my box . Do you have 1.0 Framework installed beside 1.1 ? And why don't you make detached setup proj from the proj you are working on ?It's just a suggestion anyways . But it's working well here . So , can't tell you what's wrong with your PC .:rolleyes:

ZaidGS
Aug 28th, 2003, 01:33 AM
I only have 1.0 framework!!!
a seperate setup project dont work either :( :rolleyes:
thanks Pirate anyways :)

Pirate
Aug 28th, 2003, 12:24 PM
Well . The Framework Launch Condition in your proj is checking for presence of 1.1 not 1.0 . Check the attachment . Change this to 1.0 and try .

ZaidGS
Aug 29th, 2003, 02:50 AM
well, ... i didnt find where this screen shot where taken from !!!

maybe its better to give a larger screen shot, or just tell me,
its the properties of what object ???!

by the way, i have Visual Studio .NET 2002 ,
side by side to Visual Studio 6.

also, could that have changed according to your frame work version ??!!
cuz framework 1.1 was never on my pc, and my framework
version is: 1.0.3705 (as sown in Add\remove prgrams)

Pirate
Aug 29th, 2003, 02:10 PM
Sorry , I should've explained that . Focus your Setup Proj , then View ----> Editor------->Launch Conditions . You'll find the Framework condition the last item in the panel . Click it , see its properties .

ZaidGS
Aug 30th, 2003, 03:10 AM
well, see the screen shot, its explains itself :)

Pirate
Aug 30th, 2003, 11:27 AM
I dunno . Could be because version differences , you can't find that item shown in the attachement . :rolleyes:

ZaidGS
Aug 31st, 2003, 06:06 AM
what a pity :(
maybe pirate, you'll help me when i upgrade to VS 2003 ;) :cool: :confused:

Pirate
Aug 31st, 2003, 11:51 AM
Not me only . I and the other great guys will do help anyone over the board . :)