Hi Nick,

Thank you for your reply.  I think that is a better fit.  I have also thought 
IExpress and VBScript might be a simpler approach.

I admit what I am doing is unusual.  I have an old pre-Vista legacy app that 
used HKEY_LOCAL_MACHINE to store product key registration information.  Under 
Vista and later this gets "virtualized" and stored under HKEY_CURRENT_USER.  
This causes each new user that logs on to call in with a broken license 
complaint.  My initial thought was the easiest solution for this small set of 
customers was to install in new DLL that basically ignores the registry and 
returns happy.  

After struggling with the installer I think time would have been better spent 
to re-write the DLL to read/write from the correct ALLUSERSPROFILE ProgramData 
location.

-Ed


-----Original Message-----
From: Nick Ramirez [mailto:nickra...@hotmail.com] 
Sent: Tuesday, May 06, 2014 8:59 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to not launch install if previous version not 
found?

Upgrades are used to find and replace previously installed files. But if 
there's nothing to replace, there's nothing to say the install can't continue 
as a fresh install. If you need to not run the installer at all if a previous 
install isn't there then try using a launch condition
(http://wixtoolset.org/documentation/manual/v3/xsd/wix/launchconditions.html)



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-launch-install-if-previous-version-not-found-tp7594474p7594535.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity • Requirements for 
releasing software faster • Expert tips and advice for migrating your SCM 
now http://p.sf.net/sfu/perforce _______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


This email and any files transmitted with it from The Charles Machine Works, 
Inc. are confidential and intended solely for the use of the individual or 
entity to which they are addressed.  If you have received this email in error 
please notify the sender.  Our company accepts no liability for the contents of 
this email, or for the consequences of any actions taken on the basis of the 
information provided, unless that information is subsequently confirmed in 
writing.  Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the 
company.  Finally, the recipient should check this email and any attachments 
for the presence of viruses.  The company accepts no liability for any damage 
caused by any virus transmitted by this email.



------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to