473,569 Members | 2,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Registry start condition problem when deploying with VsNet2003

As my registry start condition was working fine, now it's not working anymore

Here are the kind of parameter I use in VSNEt2003:

A) Registry :
Name : Pipo;
Property : PROP1;
RegKey :SOFTWARE\Add1\ Add2
Root : vsdrrHKLM
Value : Deux

B) Start condition
Name : Condition1
Condition : PROP1
InstallUrl :
Message : Error

Even if the registry(string value) HKEY_LOCAL_MACH INE\SOFTWARE\Ad d1\Add2 is
Deux, I get the message Error.

Why ?

An other question :

If I have another property PROP2, can I have a start condition which check
that
PROP1 OR PROP2 is OK (one of the two condition is enough to start)?

Best regards.

Joel
Jul 21 '05 #1
1 1506
From the way you ask the question, I think you're misunderstandin g how it
works. It's not simply a search that the Name Deux is there under that key,
it's a search to get the data associated with that name, and my guess is
that you have no Data in your Deux entry. There must be data there for the
search to succeed.
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg...044380-4696760

"Joel" <Jo**@discussio ns.microsoft.co m> wrote in message
news:7F******** *************** ***********@mic rosoft.com...
As my registry start condition was working fine, now it's not working
anymore

Here are the kind of parameter I use in VSNEt2003:

A) Registry :
Name : Pipo;
Property : PROP1;
RegKey :SOFTWARE\Add1\ Add2
Root : vsdrrHKLM
Value : Deux

B) Start condition
Name : Condition1
Condition : PROP1
InstallUrl :
Message : Error

Even if the registry(string value) HKEY_LOCAL_MACH INE\SOFTWARE\Ad d1\Add2
is
Deux, I get the message Error.

Why ?

An other question :

If I have another property PROP2, can I have a start condition which check
that
PROP1 OR PROP2 is OK (one of the two condition is enough to start)?

Best regards.

Joel

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1231
by: Kevin Ortman | last post by:
We recently ported our code from VSNET2002 to 2003 After migration, we noticed that several properties of one of our classes no longer pop up in intellisense ( the get_ set_ methods pop up, but the properties don't). Some digging shows that the MSIL generated for the culprit properties includes a few extra method attributes ( newslot virtual...
0
3506
by: D. Yates | last post by:
Hi, How exactly do you use the condition property to tell the installer not to overwrite changed registry values? Initially, I want certain registry values within a given key set to the value contained within the registry view (right click the install project and navigate to View->Registry). However, if the user runs the setup.exe...
1
264
by: Joel | last post by:
As my registry start condition was working fine, now it's not working anymore Here are the kind of parameter I use in VSNEt2003: A) Registry : Name : Pipo; Property : PROP1; RegKey :SOFTWARE\Add1\Add2 Root : vsdrrHKLM Value : Deux
0
1002
by: Jon | last post by:
Hi, I have created a setup project and added all the files i want. I added a few registry key into the registry on the setup. I have also added a textboxes interface. But how do i link them? So when the user enter the information on the textbox, it will be pass into the registry key's value?? I would also like to display the user's...
6
2519
by: ewolfman | last post by:
Hi, Is there any way in which I can monitor / hook the Registry, and upon a call to a specific key from a specific application - swap the returned value? I was thinking of using this method to overcome the "click" sound of the WebBrowser, without having to affect the Registry permanently. This way I could monitor the call for the sound...
0
4619
by: Gary | last post by:
I'm having trouble entering Additional Registry Keys into my Package Solution that will deploy the Access 2007 runtime. (Client machine is running XP with Office 2007 Standard.) The Package Solution Wizard, on about page 3, has a section for entering Additional Registry Keys. I want to include a locations key that will identify my install...
2
3178
by: =?Utf-8?B?UGV0ZQ==?= | last post by:
Hi, I have developed a VB application in VS2005 and deployed it sucessfully to XP using an MSI file built with a standard VS setup project. The MSI creates some keys under HKEY_LOCAL_MACHINE\Software. However when deploying to Vista, although the setup completes without error, the registry entries are not created. This occurs even when run...
0
1844
by: diego72 | last post by:
Hi!, I'm trying to delete some registry keys and subkeys with a vbs script, deploying it through gpo starup script. The Os is Windows 2003 Enterprise Server R2 and the clients are Windows Xp. The problem is that, although I run the script perfectly in local double-clicking it, when the script is deployed via gpo, registry keys remain undeleted....
11
7498
by: Unknown Hero | last post by:
Tim Golden wrote: The first link which points to the Python documentation for the _winreg module I already checked, even before coming here. I am wondering how I should do the loop I need (go through HKEY_LOCAL_MACHINE and read one subkey at a time, if it contains this 'foo' then change it into 'moo'). As I already said, I am by no means...
0
7698
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8122
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7673
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.