Both are possible.  The Exec should be able to launch the file from a Binary 
stream and you can schedule a CustomAction your CustomAction to delete registry 
keys.

What are you going to do with uninstall?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of carlH
Sent: Friday, June 22, 2007 2:14 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Deleteing a registry entry at the end of the install


This might help explain a bit more

        <Property Id='install'>C:\Program
Files\Folder\NSISinstaller.exe</Property>
        <CustomAction Id='LaunchFile' Property='install' ExeCommand='/S'
Return='check' />

        <InstallExecuteSequence>
                <Custom Action='LaunchFile' After='InstallFinalize'>NOT 
Installed</Custom>
        </InstallExecuteSequence>

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLLOCATION" Name="Folder" LongName="Folder">
          <Component Id="ProductComponent"
Guid="nnnnnnnn-084D-11DC-A998-86FE55D89593">
            <File Id='installer' Name='NSISinstaller.exe'
LongName='NSISinstaller.exe'
                  DiskId='1' Source='InstalledFiles\NSISinstaller.exe'
Vital='yes' />
          </Component>
        </Directory>
      </Directory>
    </Directory>

This works fine, the first thing that happens is the NSIS installer is
installed, then it's launched and the MSI installer waits for it to finish.
What I need is a method to slot in another custom action after the NSIS
installer has finished, that then removes the registry entry created by the
NSIS installer.

Also is it possible to run the NSIS installer from memory rather than
installing it and then running it as this would be cleaner.



--
View this message in context: 
http://www.nabble.com/Deleteing-a-registry-entry-at-the-end-of-the-install-tf3952329.html#a11248622
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to