PC Review


Reply
Thread Tools Rate Thread

SmartClient Publishing Question

 
 
smithgp@msn.com
Guest
Posts: n/a
 
      19th Dec 2007
Hello,

We have a SmartClient application built on the .NET 2.0 Framework. I
am using the publishing feature of VS2005 to publish the updates to
this program.

For example, let's say the publisher is Acme and the application is
named Foo.

The install process creates an item under the Start->Programs->Acme-
>Foo which is great.


My question is about the deployment. We have 4 environments here
Development, QA, Training and Live.

I would like to have 4 links available under the start menu (one for
each environment). So, I would have a Start->Programs->Acme->Foo
(DEV), Start->Programs->Acme->Foo (QA), Start->Programs->Acme->Foo
(Training), Start->Programs->Acme->Foo (Live).

I have used MAGEUI to change the name of the items on each
environment, but it seems that if I install the QA version, it
replaces ny DEV version on the start menu. I have experimented a bit
but I was wondering if anyone else had experience with this and has a
way of managing this.

Thanks,
Glenn




 
Reply With Quote
 
 
 
 
RobinS
Guest
Posts: n/a
 
      4th Jan 2008
Are you using ClickOnce deployment? Is that what you mean by
"the publishing feature of VS2005" ?

RobinS.
GoldMail, Inc.
----------------------------------
<(E-Mail Removed)> wrote in message
news:fde6a440-620f-448d-812e-(E-Mail Removed)...
> Hello,
>
> We have a SmartClient application built on the .NET 2.0 Framework. I
> am using the publishing feature of VS2005 to publish the updates to
> this program.
>
> For example, let's say the publisher is Acme and the application is
> named Foo.
>
> The install process creates an item under the Start->Programs->Acme-
>>Foo which is great.

>
> My question is about the deployment. We have 4 environments here
> Development, QA, Training and Live.
>
> I would like to have 4 links available under the start menu (one for
> each environment). So, I would have a Start->Programs->Acme->Foo
> (DEV), Start->Programs->Acme->Foo (QA), Start->Programs->Acme->Foo
> (Training), Start->Programs->Acme->Foo (Live).
>
> I have used MAGEUI to change the name of the items on each
> environment, but it seems that if I install the QA version, it
> replaces ny DEV version on the start menu. I have experimented a bit
> but I was wondering if anyone else had experience with this and has a
> way of managing this.
>
> Thanks,
> Glenn
>
>
>
>


 
Reply With Quote
 
Glenn Smith
Guest
Posts: n/a
 
      4th Jan 2008
On Jan 3, 10:58*pm, "RobinS" <rob...@imnottelling.com> wrote:
> Are you using ClickOnce deployment? Is that what you mean by
> "the publishing feature of VS2005" ?
>
> RobinS.
> GoldMail, Inc.
> ----------------------------------<smit...@msn.com> wrote in message
>
> news:fde6a440-620f-448d-812e-(E-Mail Removed)...
>
>
>
> > Hello,

>
> > We have a SmartClient application built on the .NET 2.0 Framework. *I
> > am using the publishing feature of VS2005 to publish the updates to
> > this program.

>
> > For example, let's say the publisher is Acme and the application is
> > named Foo.

>
> > The install process creates an item under the Start->Programs->Acme-
> >>Foo which is great.

>
> > My question is about the deployment. *We have 4 environments here
> > Development, QA, Training and Live.

>
> > I would like to have 4 links available under the start menu (one for
> > each environment). *So, I would have a Start->Programs->Acme->Foo
> > (DEV), Start->Programs->Acme->Foo (QA), Start->Programs->Acme->Foo
> > (Training), Start->Programs->Acme->Foo (Live).

>
> > I have used MAGEUI to change the name of the items on each
> > environment, but it seems that if I install the QA version, it
> > replaces ny DEV version on the start menu. *I have experimented a bit
> > but I was wondering if anyone else had experience with this and has a
> > way of managing this.

>
> > Thanks,
> > Glenn- Hide quoted text -

>
> - Show quoted text -


Thanks for responding...

Yes, I should have mentioned that I am using ClickOnce deployment...

Thanks
 
Reply With Quote
 
RobinS
Guest
Posts: n/a
 
      14th Jan 2008

I tried deploying an application to my local IIS, then changed the product
name and redeployed it, and found the same thing you did -- it replaces the
one that is there. Although mine wouldn't run after I replaced it -- some
problem with the appref-ms (ms-appref? whatever it is) file.

My suspicion is that the deployment is tied to the main UI project in the
solution.

You could try creating multiple projects for startup, set the one you want
to be the main project as the startup project and deploy it. Then I think it
might work.

I am responsible for deployment in my company. We deploy the QA version,
public build, and engineering build to different url's, and have people
install from the appropriate location. If we want to test the different
versions, we just deinstall and reinstall whichever one we want to use. Most
people in my company only run a specific build; it's just the QA and
engineering folks who keep switching around.

If you find a way to get this to work, I'd be interested to know how. You
might try posting it to an MSDN forum; maybe someone at Microsoft would pass
it over to the ClickOnce group.

Good luck.

RobinS.
GoldMail, Inc.
------------------------------------
"Glenn Smith" <(E-Mail Removed)> wrote in message
news:f65d8139-3627-430d-b940-(E-Mail Removed)...
On Jan 3, 10:58 pm, "RobinS" <rob...@imnottelling.com> wrote:
> Are you using ClickOnce deployment? Is that what you mean by
> "the publishing feature of VS2005" ?
>
> RobinS.
> GoldMail, Inc.
> ----------------------------------<smit...@msn.com> wrote in message
>
> news:fde6a440-620f-448d-812e-(E-Mail Removed)...
>
>
>
> > Hello,

>
> > We have a SmartClient application built on the .NET 2.0 Framework. I
> > am using the publishing feature of VS2005 to publish the updates to
> > this program.

>
> > For example, let's say the publisher is Acme and the application is
> > named Foo.

>
> > The install process creates an item under the Start->Programs->Acme-
> >>Foo which is great.

>
> > My question is about the deployment. We have 4 environments here
> > Development, QA, Training and Live.

>
> > I would like to have 4 links available under the start menu (one for
> > each environment). So, I would have a Start->Programs->Acme->Foo
> > (DEV), Start->Programs->Acme->Foo (QA), Start->Programs->Acme->Foo
> > (Training), Start->Programs->Acme->Foo (Live).

>
> > I have used MAGEUI to change the name of the items on each
> > environment, but it seems that if I install the QA version, it
> > replaces ny DEV version on the start menu. I have experimented a bit
> > but I was wondering if anyone else had experience with this and has a
> > way of managing this.

>
> > Thanks,
> > Glenn- Hide quoted text -

>
> - Show quoted text -


Thanks for responding...

Yes, I should have mentioned that I am using ClickOnce deployment...

Thanks

 
Reply With Quote
 
Glenn Smith
Guest
Posts: n/a
 
      14th Jan 2008
On Jan 13, 10:45*pm, "RobinS" <rob...@imnottelling.com> wrote:
> I tried deploying an application to my local IIS, then changed the product
> name and redeployed it, and found the same thing you did -- it replaces the
> one that is there. Although mine wouldn't run after I replaced it -- some
> problem with the appref-ms (ms-appref? whatever it is) file.
>
> My suspicion is that the deployment is tied to the main UI project in the
> solution.
>
> You could try creating multiple projects for startup, set the one you want
> to be the main project as the startup project and deploy it. Then I think it
> might work.
>
> I am responsible for deployment in my company. We deploy the QA version,
> public build, and engineering build to different url's, and have people
> install from the appropriate location. If we want to test the different
> versions, we just deinstall and reinstall whichever one we want to use. Most
> people in my company only run a specific build; it's just the QA and
> engineering folks who keep switching around.
>
> If you find a way to get this to work, I'd be interested to know how. You
> might try posting it to an MSDN forum; maybe someone at Microsoft would pass
> it over to the ClickOnce group.
>
> Good luck.
>
> RobinS.
> GoldMail, Inc.
> ------------------------------------"Glenn Smith" <smit...@msn.com> wrote in message
>
> news:f65d8139-3627-430d-b940-(E-Mail Removed)...
> On Jan 3, 10:58 pm, "RobinS" <rob...@imnottelling.com> wrote:
>
>
>
>
>
> > Are you using ClickOnce deployment? Is that what you mean by
> > "the publishing feature of VS2005" ?

>
> > RobinS.
> > GoldMail, Inc.
> > ----------------------------------<smit...@msn.com> wrote in message

>
> >news:fde6a440-620f-448d-812e-(E-Mail Removed)...

>
> > > Hello,

>
> > > We have a SmartClient application built on the .NET 2.0 Framework. I
> > > am using the publishing feature of VS2005 to publish the updates to
> > > this program.

>
> > > For example, let's say the publisher is Acme and the application is
> > > named Foo.

>
> > > The install process creates an item under the Start->Programs->Acme-
> > >>Foo which is great.

>
> > > My question is about the deployment. We have 4 environments here
> > > Development, QA, Training and Live.

>
> > > I would like to have 4 links available under the start menu (one for
> > > each environment). So, I would have a Start->Programs->Acme->Foo
> > > (DEV), Start->Programs->Acme->Foo (QA), Start->Programs->Acme->Foo
> > > (Training), Start->Programs->Acme->Foo (Live).

>
> > > I have used MAGEUI to change the name of the items on each
> > > environment, but it seems that if I install the QA version, it
> > > replaces ny DEV version on the start menu. I have experimented a bit
> > > but I was wondering if anyone else had experience with this and has a
> > > way of managing this.

>
> > > Thanks,
> > > Glenn- Hide quoted text -

>
> > - Show quoted text -

>
> Thanks for responding...
>
> Yes, I should have mentioned that I am using ClickOnce deployment...
>
> Thanks- Hide quoted text -
>
> - Show quoted text -


I did manage to get it to work.

Let's say that the application is called foo.exe. When you publish
the app, it will create a files named foo.application and publish.htm.

I copied the foo.application file to fooQA.application and the
publish.htm to publishQA.htm. Using mageUI, I opened the
fooqa.application file, changed the name to fooQA.application and
change the description to foo (QA). Then in the publishQA.htm I
changed the HREF from foo.application to fooQA.application and set
this page as the default page in IIS for the QA install URL

Now, each time that the foo.exe program is recompiled, you must use
mageui and change the reference to the application (i.e. select the
foo.exe.manifest in the correct sub-directory) and save it.

It seems to work fine.

I have repeated these steps for each environment I must deploy to. It
really isn;t that bad once you get it set up.

If you have any questions feel free to ask.

Glenn



 
Reply With Quote
 
RobinS
Guest
Posts: n/a
 
      14th Jan 2008
Thanks for posting your solution. It sounds like a lot of work, but like you
say, once you get used to it, it's probably not so bad. It's good to know it
can be done.

RobinS.
GoldMail, Inc.
----------------------------
"Glenn Smith" <(E-Mail Removed)> wrote in message
news:01703da2-b8c7-4e54-a224-(E-Mail Removed)...
On Jan 13, 10:45 pm, "RobinS" <rob...@imnottelling.com> wrote:
> I tried deploying an application to my local IIS, then changed the product
> name and redeployed it, and found the same thing you did -- it replaces
> the
> one that is there. Although mine wouldn't run after I replaced it -- some
> problem with the appref-ms (ms-appref? whatever it is) file.
>
> My suspicion is that the deployment is tied to the main UI project in the
> solution.
>
> You could try creating multiple projects for startup, set the one you want
> to be the main project as the startup project and deploy it. Then I think
> it
> might work.
>
> I am responsible for deployment in my company. We deploy the QA version,
> public build, and engineering build to different url's, and have people
> install from the appropriate location. If we want to test the different
> versions, we just deinstall and reinstall whichever one we want to use.
> Most
> people in my company only run a specific build; it's just the QA and
> engineering folks who keep switching around.
>
> If you find a way to get this to work, I'd be interested to know how. You
> might try posting it to an MSDN forum; maybe someone at Microsoft would
> pass
> it over to the ClickOnce group.
>
> Good luck.
>
> RobinS.
> GoldMail, Inc.
> ------------------------------------"Glenn Smith" <smit...@msn.com> wrote
> in message
>
> news:f65d8139-3627-430d-b940-(E-Mail Removed)...
> On Jan 3, 10:58 pm, "RobinS" <rob...@imnottelling.com> wrote:
>
>
>
>
>
> > Are you using ClickOnce deployment? Is that what you mean by
> > "the publishing feature of VS2005" ?

>
> > RobinS.
> > GoldMail, Inc.
> > ----------------------------------<smit...@msn.com> wrote in message

>
> >news:fde6a440-620f-448d-812e-(E-Mail Removed)...

>
> > > Hello,

>
> > > We have a SmartClient application built on the .NET 2.0 Framework. I
> > > am using the publishing feature of VS2005 to publish the updates to
> > > this program.

>
> > > For example, let's say the publisher is Acme and the application is
> > > named Foo.

>
> > > The install process creates an item under the Start->Programs->Acme-
> > >>Foo which is great.

>
> > > My question is about the deployment. We have 4 environments here
> > > Development, QA, Training and Live.

>
> > > I would like to have 4 links available under the start menu (one for
> > > each environment). So, I would have a Start->Programs->Acme->Foo
> > > (DEV), Start->Programs->Acme->Foo (QA), Start->Programs->Acme->Foo
> > > (Training), Start->Programs->Acme->Foo (Live).

>
> > > I have used MAGEUI to change the name of the items on each
> > > environment, but it seems that if I install the QA version, it
> > > replaces ny DEV version on the start menu. I have experimented a bit
> > > but I was wondering if anyone else had experience with this and has a
> > > way of managing this.

>
> > > Thanks,
> > > Glenn- Hide quoted text -

>
> > - Show quoted text -

>
> Thanks for responding...
>
> Yes, I should have mentioned that I am using ClickOnce deployment...
>
> Thanks- Hide quoted text -
>
> - Show quoted text -


I did manage to get it to work.

Let's say that the application is called foo.exe. When you publish
the app, it will create a files named foo.application and publish.htm.

I copied the foo.application file to fooQA.application and the
publish.htm to publishQA.htm. Using mageUI, I opened the
fooqa.application file, changed the name to fooQA.application and
change the description to foo (QA). Then in the publishQA.htm I
changed the HREF from foo.application to fooQA.application and set
this page as the default page in IIS for the QA install URL

Now, each time that the foo.exe program is recompiled, you must use
mageui and change the reference to the application (i.e. select the
foo.exe.manifest in the correct sub-directory) and save it.

It seems to work fine.

I have repeated these steps for each environment I must deploy to. It
really isn;t that bad once you get it set up.

If you have any questions feel free to ask.

Glenn



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Publishing question Paula Microsoft Frontpage 4 13th Jan 2008 12:39 AM
WCF & WF & SmartClient hufaunder@yahoo.com Microsoft Dot NET Framework 2 18th Apr 2007 03:07 PM
SmartClient? Lauren Quantrell Microsoft Dot NET 1 5th Oct 2005 06:52 PM
re: SmartClient? Chad Z. Hower a.k.a. Kudzu [msft] Microsoft Dot NET 2 4th Oct 2005 07:22 PM
publishing question Carly Microsoft Frontpage 1 2nd Sep 2003 10:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:46 PM.