[WiX-users] transforms question

2008-04-15 Thread Amy Rosewater
I have an install with embedded transforms that are created through the
InstanceTransforms element and child Instance elements.

 

Property Id=CURRENTINSTANCEOriginal Product/Property

InstanceTransforms Property=CURRENTINSTANCE

   Instance Id=Instance1
ProductCode=49cfbf40-04e0-11dd-95ff-0800200c9a66 ProductName=iVantage
5.0 Copy 1 /

   Instance Id=Instance2
ProductCode=5415c080-04e0-11dd-95ff-0800200c9a66 ProductName=iVantage
5.0 Copy 2 /

/InstanceTransforms

 

I am able to install a second instance of my application by typing the
following command:

 

msiexec /i myinstaller.msi TRANSFORMS=:Instance1 MSINEWINSTANCE=1

 

How do I specify at the command line when I want to show my
Modify/Repair/Remove dialog which instance I mean.  If I type the same
command as above after Instance1 is installed I get an error Invalid
command line argument.  If I leave off the MSINEWINSTANCE=1 it runs but
only for my original installation.  I just stumbled across the syntax
explaining the MSINEWINSTANCE property in the wix-users list and I was
hoping someone here might know about a property I haven't found that
does what I need?

 

Thanks!

 

Amy

 

Amy Rosewater

Sr. Development Programmer/Analyst

SPECTRUM Human Resource Systems Corporation

707 Seventeenth Street, Suite 3800

Denver, CO 80202-3438

(303) 592-3403 Phone

(800) 334-5660 Toll Free

(303) 592-3233 Fax

[EMAIL PROTECTED]

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] transforms question

2008-04-15 Thread Christopher Painter
You want to read the MSI SDK help topic Installing Multiple instances with 
Instance Transforms
   
  In there you'll find:
   
  
The easiest way to initiate a maintenance installation, and reinstall an 
instance, is to reference the product code of the instance. If you initiate the 
maintenance installation by using the package path, you must also specify the 
product code of the instance. From the command line, use the /n {Product Code} 
option. From code or script, use the MSIINSTANCEGUID property.
  There are also examples showing how to rdo minoir upgrades.   Also  I have a 
couple articles on my blog where  back in 2006 I describe how to write a custom 
bootstrapper to automatically handle all of this servicing and now in 2008 
where InstallShield 2009 (beta) does it all for you.
   
  http://blog.deploymentengineering.com/2006/10/multiple-instance-msis-and.html
   
http://blog.deploymentengineering.com/2008/03/installshield-2009-beta-part-i.html
  

Amy Rosewater [EMAIL PROTECTED] wrote:
st1\:*{behavior:url(#default#ieooui) }I have an install 
with embedded transforms that are created through the InstanceTransforms 
element and child Instance elements.
   
  Property Id=CURRENTINSTANCEOriginal Product/Property
  InstanceTransforms Property=CURRENTINSTANCE
 Instance Id=Instance1 
ProductCode=49cfbf40-04e0-11dd-95ff-0800200c9a66 ProductName=iVantage 5.0 
Copy 1 /
 Instance Id=Instance2 
ProductCode=5415c080-04e0-11dd-95ff-0800200c9a66 ProductName=iVantage 5.0 
Copy 2 /
  /InstanceTransforms
   
  I am able to install a second instance of my application by typing the 
following command:
   
  msiexec /i myinstaller.msi TRANSFORMS=:Instance1 MSINEWINSTANCE=1
   
  How do I specify at the command line when I want to show my 
Modify/Repair/Remove dialog which instance I mean.  If I type the same command 
as above after Instance1 is installed I get an error “Invalid command line 
argument.”  If I leave off the MSINEWINSTANCE=1 it runs but only for my 
original installation.  I just stumbled across the syntax explaining the 
MSINEWINSTANCE property in the wix-users list and I was hoping someone here 
might know about a property I haven’t found that does what I need?
   
  Thanks!
   
  Amy
   
  Amy Rosewater
  Sr. Development Programmer/Analyst
  SPECTRUM Human Resource Systems Corporation
  707 Seventeenth Street, Suite 3800
  Denver, CO 80202-3438
  (303) 592-3403 Phone
  (800) 334-5660 Toll Free
  (303) 592-3233 Fax
  [EMAIL PROTECTED]

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


 between -00-00 and -99-99-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] transforms question

2008-04-15 Thread Amy Rosewater
Cool Chris, thanks!  :)  That would be exactly what I needed.

 

A

 

Amy Rosewater

Sr. Development Programmer/Analyst

SPECTRUM Human Resource Systems Corporation

707 Seventeenth Street, Suite 3800

Denver, CO 80202-3438

(303) 592-3403 Phone

(800) 334-5660 Toll Free

(303) 592-3233 Fax

[EMAIL PROTECTED]



From: Christopher Painter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 15, 2008 1:03 PM
To: Amy Rosewater; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] transforms question

 

You want to read the MSI SDK help topic Installing Multiple instances
with Instance Transforms

 

In there you'll find:

 

*  The easiest way to initiate a maintenance installation, and reinstall
an instance, is to reference the product code of the instance. If you
initiate the maintenance installation by using the package path, you
must also specify the product code of the instance. From the command
line, use the /n {Product Code} option. From code or script, use the
MSIINSTANCEGUID property. 

 

There are also examples showing how to rdo minoir upgrades.   Also  I
have a couple articles on my blog where  back in 2006 I describe how to
write a custom bootstrapper to automatically handle all of this
servicing and now in 2008 where InstallShield 2009 (beta) does it all
for you.

 

http://blog.deploymentengineering.com/2006/10/multiple-instance-msis-and
.html

 

http://blog.deploymentengineering.com/2008/03/installshield-2009-beta-pa
rt-i.html 



Amy Rosewater [EMAIL PROTECTED] wrote:

I have an install with embedded transforms that are created
through the InstanceTransforms element and child Instance elements.

 

Property Id=CURRENTINSTANCEOriginal Product/Property

InstanceTransforms Property=CURRENTINSTANCE

   Instance Id=Instance1
ProductCode=49cfbf40-04e0-11dd-95ff-0800200c9a66 ProductName=iVantage
5.0 Copy 1 /

   Instance Id=Instance2
ProductCode=5415c080-04e0-11dd-95ff-0800200c9a66 ProductName=iVantage
5.0 Copy 2 /

/InstanceTransforms

 

I am able to install a second instance of my application by
typing the following command:

 

msiexec /i myinstaller.msi TRANSFORMS=:Instance1
MSINEWINSTANCE=1

 

How do I specify at the command line when I want to show my
Modify/Repair/Remove dialog which instance I mean.  If I type the same
command as above after Instance1 is installed I get an error Invalid
command line argument.  If I leave off the MSINEWINSTANCE=1 it runs but
only for my original installation.  I just stumbled across the syntax
explaining the MSINEWINSTANCE property in the wix-users list and I was
hoping someone here might know about a property I haven't found that
does what I need?

 

Thanks!

 

Amy

 

Amy Rosewater

Sr. Development Programmer/Analyst

SPECTRUM Human Resource Systems Corporation

707 Seventeenth Street, Suite 3800

Denver, CO 80202-3438

(303) 592-3403 Phone

(800) 334-5660 Toll Free

(303) 592-3233 Fax

[EMAIL PROTECTED]



-
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference 
Don't miss this year's exciting event. There's still time to
save $100. 
Use priority code J8TL2D2. 

http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 

  between -00-00 and -99-99  

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users