There's the MsiSetProperty API Ref: http://msdn.microsoft.com/en-us/library/aa370391(VS.85).aspx
Or, if you're doing this from a native windows installer UI sequence, through WiX, you'd make use of the "Publish" element. Example: <Publish Property='PropertyName' Value='[PROPERTY_VALUE]'>NOT Installed</Publish> If you want the property to be available from the execute sequence, make it global by using ALL_CAPITAL_LETTERS and be aware of SecureCustomProperties, ref: http://msdn.microsoft.com/en-us/library/aa371571.aspx -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eitan Behar Sent: Monday, September 15, 2008 4:10 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to pass property value to msi Sorry, I am passing this question to somebody else here. I am UI-less... Eitan On Mon, Sep 15, 2008 at 11:52 AM, Chandra Vuppala < [EMAIL PROTECTED]> wrote: > thanks Eitan, it worked for me. > > Can u give me sample or approach for passing values from UI. > > Thanks & Regards, > Chandrashekar vuppala > ________________________________ > > From: [EMAIL PROTECTED] on behalf of Eitan Behar > Sent: Tue 9/09/2008 11:13 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] How to pass property value to msi > > > > Passing a value through the command prompt is as simply as using > PROPERTYNAME=Value, i.e. > msiexec /i "My Setup.msi" MYOWNPROPERTY=Tududu > > Public properties are always upper case. > > For more details, run msiexec /? > > Rgrds > > Eitan > > On Tue, Sep 9, 2008 at 8:08 AM, Chandra Vuppala < > [EMAIL PROTECTED]> wrote: > > > Hi, > > Problem is passing values to the msi, Please give me sample on passing > > values to msi throuugh UI or through command prompt. > > > > Thanks & Regards, > > Chandrashekar vuppala > > M-9908298419 > > Oakton Global Technology Services Centre (India) > > Results Driven. When Business & IT Matters > > > > ________________________________ > > > > From: [EMAIL PROTECTED] on behalf of Rob Mensching > > Sent: Fri 5/09/2008 9:30 AM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Certificate error > > > > > > > > Except you want to look at the hex number by the "Error". In this case: > > 0x80070057 = E_INVALIDARG. > > > > Can you be sure you recompiled all of your files. It is possible you > have > > an old table definition that is getting in and being confused. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] On Behalf Of Ryan O'Neill > > Sent: Thursday, September 04, 2008 04:21 > > To: 'General discussion for Windows Installer XML toolset.' > > Subject: Re: [WiX-users] Certificate error > > > > The error code 3 is a Win32 error for file not found. You can find win32 > > error codes online or in MSDN or at a dos prompt by typing 'net helpmsg > 3' > > and it will give you the error text a lot of the time. > > > > I suggest using filemon (from MS) to see what file is being looked for > and > > where. > > > > Ryan > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Krzysztof > > Kozmic > > Sent: 03 September 2008 14:40 > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] Certificate error > > > > I updated to the most recent WiX build. Now I get errors even during > > instalation > > > > InstallCertificates: Error 0x80070057: Failed to open PFX file. > > InstallCertificates: Error 0x80070057: Failed to get SHA1 hash of > > certificate. > > InstallCertificates: Error 0x80070057: Failed to resolve certificate: > > ServiceCertificate > > Action ended 15:36:18: InstallCertificates. Return value 3. > > > > I have absolutely no clue as to what may cause it. Any help? > > > > > > CONFIDENTIALITY NOTICE > > This message is intended exclusively for the individual or entity to > which > > it is addressed. This communication may contain information that is > > proprietary, privileged, confidential or otherwise legally exempt from > > disclosure. If you are not the named addressee, you are not authorized to > > read, print, retain, copy or disseminate this message or any part of it. > If > > you have received this message in error, please delete all copies of this > > message and notify the sender immediately by return mail or fax ATSI > > S.A.(+4812) 285 36 04. > > Any email attachment may contain software viruses which could damage your > > own computer system. Whilst reasonable precaution has been taken to > > minimise > > this risk, we cannot accept liability for any damage which you sustain as > a > > result of software viruses. You should therefore carry out your own virus > > checks before opening any attachments. > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > No virus found in this incoming message. > > Checked by AVG - http://www.avg.com <http://www.avg.com/> < > http://www.avg.com/> > > Version: 8.0.169 / Virus Database: 270.6.15/1649 - Release Date: > 03/09/2008 > > 16:13 > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > IMPORTANT > > 1. This email and any attachments are confidential. Any > unauthorised > > dissemination or other use of these materials is prohibited. If received > in > > error, please contact us and delete all copies. > > 2. Before opening or using attachments, check them for viruses and > > defects. Our liability is limited to resupplying any affected > attachments. > > 3. Protecting your privacy is important to us. Our privacy > statement > > and further information is available at www.oakton.com.au. > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > IMPORTANT > 1. This email and any attachments are confidential. Any unauthorised > dissemination or other use of these materials is prohibited. If received in > error, please contact us and delete all copies. > 2. Before opening or using attachments, check them for viruses and > defects. Our liability is limited to resupplying any affected attachments. > 3. Protecting your privacy is important to us. Our privacy statement > and further information is available at www.oakton.com.au. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users