Hi thanks again for your input

ive pretty much got this working now, well its shows the dialog when the reg
search is true and doesnt show the dialog when the reg search is false,
however im gettin a problem further down the installUi sequence which to be
fair is nothing to do with this particular issue. I will have to involve the
person who origianly made the UI to see whats what.

Thanks Again 

Craig



Rob Hamflett wrote:
> 
> Giving it a sequence of one will mean it will run before anything else has
> the chance to do 
> anything, including looking for your reg entry.  Try After="AppSearch".
> 
> Rob
> 
> Craig0ss wrote:
>> HI 
>> 
>> Thanks for your input, i think im gettin there, but still not quite, so
>> here
>> is what i have so far 
>> 
>> The Search:
>> 
>> <Property Id="OLD">
>>       <RegistrySearch Id="OldOpti" Type="raw" Root="HKLM"
>> Key="Software\Optisoft\Settings" Name="SetupType" />
>>     </Property>
>> 
>> And the Code you suggested (this is under the InstallUISequence)
>> 
>> <Show Dialog="OldInstall" Sequence="1">OLD</Show>
>> 
>> This is all i have in regarding this, and its not doing anything when i
>> run
>> the installer.
>> 
>> when i try and compile my MSI i get an error stateing that i need to
>> specify
>> a befre or after or sequence??? so i put the "sequence="1" in to get it
>> compile while testing other things
>> 
>> Is there anything im missing??
>> 
>> Thanks again 
>> 
>> Craig
>> 
>> 
>> 
>> Rob Hamflett wrote:
>>> Craig0ss wrote:
>>>> <ShowDialog ="OldInstall"> but this clearly rong
>>>>
>>>> where do i put the condition? and waht would it look like ?
>>> Try this:
>>> <Show Dialog="OldInstall">OLD</Show>
>>>
>>> Rob
>>>
>>>> Thank you 
>>>>
>>>> Craig
>>>>
>>>>
>>>> Rob Hamflett wrote:
>>>>> You use a <Show> element in InstallExecuteSequence to show the dialog,
>>>>> and
>>>>> use a condition based on 
>>>>> the property set by the RegistrySearch.
>>>>>
>>>>> Rob
>>>>>
>>>>> Craig0ss wrote:
>>>>>> Hi 
>>>>>>
>>>>>> as the subject states i need a dialog to be brought to the users
>>>>>> attention
>>>>>> upon the execution of the msi if a regisrty is sucessful
>>>>>>
>>>>>> im surching for previously installed versions of my software, if it
>>>>>> is
>>>>>> found
>>>>>> on the target machine i need the dialog to execute. if its not found
>>>>>> then
>>>>>> nothin need happen
>>>>>>
>>>>>> thank you
>>>>> -------------------------------------------------------------------------
>>>>> This SF.net email is sponsored by: Microsoft
>>>>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>>> _______________________________________________
>>>>> WiX-users mailing list
>>>>> WiX-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>>>
>>>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-i-invoke-a-dialog-from-a-sucessful-or-un-sucessful-registry-search--tf4529088.html#a12942157
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to