PDA

View Full Version : Detecting installed packages from a web page



NewsArchive
12-06-2001, 01:00 AM
I'm looking for a mechanism for having a web page detect installed packages.
The web page would look something like this:
--------------------------------
SW Catalog:

App1: <click here to install>
App2: <Installed>
App3: <click here to install>
--------------------------------

where the buttons/links next to each app are dynamically updated with the
status of the install packages on that client machine. The packages are
one-click install from the web versions created with IS Developer 7. With a
web page like this, the user will know exactly what apps they have already
installed, and be able to install whatever other apps they want. Obviously
I'll need some type of agent on the client which can detect the installed
package GUIDs, but has anyone else created something like this? Any hints,
suggestions or code?

Thanks,
Bob Stegmann

NewsArchive
12-06-2001, 01:00 AM
Bob,
You can have some VBScript in your page to use the Installer object checking
for each ProductState and then setting the html. Here's a sample:

SCRIPT LANGUAGE="VBScript">
<!--
Dim Installer
On Error Resume Next
set Installer=CreateObject("WindowsInstaller.Installer")
Dim lState
lState = Installer.ProductState "ProductCode GUID here"
if lState = 5 then lbApp1.innerText = "App1 is installed on your system"
.....
set Installer=Nothing
-->
</SCRIPT>

For more information about the Installer object, look in the MSI help
library.

"Bob Stegmann" <stegmann@eai.com> wrote in message
news:3c0fffc1$1@news.installshield.com...
> I'm looking for a mechanism for having a web page detect installed
packages.
> The web page would look something like this:
> --------------------------------
> SW Catalog:
>
> App1: <click here to install>
> App2: <Installed>
> App3: <click here to install>
> --------------------------------
>
> where the buttons/links next to each app are dynamically updated with the
> status of the install packages on that client machine. The packages are
> one-click install from the web versions created with IS Developer 7. With
a
> web page like this, the user will know exactly what apps they have already
> installed, and be able to install whatever other apps they want.
Obviously
> I'll need some type of agent on the client which can detect the installed
> package GUIDs, but has anyone else created something like this? Any
hints,
> suggestions or code?
>
> Thanks,
> Bob Stegmann
>
>
>

NewsArchive
12-08-2001, 01:00 AM
Guys :
Check Out my website to get what you want :
http://www.ravneetg.com and check out the latest post on the site (topmost :
posted on 06-december-2001)
for this to work out you need to enable ActiveX Scripting on your browser.
-Ravs

"Marwan Tabet" <noreply@installshield.com> wrote in message
news:3c101283$1@news.installshield.com...
> Bob,
> You can have some VBScript in your page to use the Installer object
checking
> for each ProductState and then setting the html. Here's a sample:
>
> SCRIPT LANGUAGE="VBScript">
> <!--
> Dim Installer
> On Error Resume Next
> set Installer=CreateObject("WindowsInstaller.Installer")
> Dim lState
> lState = Installer.ProductState "ProductCode GUID here"
> if lState = 5 then lbApp1.innerText = "App1 is installed on your system"
> ....
> set Installer=Nothing
> -->
> </SCRIPT>
>
> For more information about the Installer object, look in the MSI help
> library.
>
> "Bob Stegmann" <stegmann@eai.com> wrote in message
> news:3c0fffc1$1@news.installshield.com...
> > I'm looking for a mechanism for having a web page detect installed
> packages.
> > The web page would look something like this:
> > --------------------------------
> > SW Catalog:
> >
> > App1: <click here to install>
> > App2: <Installed>
> > App3: <click here to install>
> > --------------------------------
> >
> > where the buttons/links next to each app are dynamically updated with
the
> > status of the install packages on that client machine. The packages are
> > one-click install from the web versions created with IS Developer 7.
With
> a
> > web page like this, the user will know exactly what apps they have
already
> > installed, and be able to install whatever other apps they want.
> Obviously
> > I'll need some type of agent on the client which can detect the
installed
> > package GUIDs, but has anyone else created something like this? Any
> hints,
> > suggestions or code?
> >
> > Thanks,
> > Bob Stegmann
> >
> >
> >
>
>