Hi All

I have packaged the Visio2003. I try to add the upgrade code of Visio5 and 2000 to my 2003 package. The problem I get is Visio 5 and 2000 are not a MSI files.They are snapsohts ( Novell). How can I unistall these early versions before I install Visio 2003.
Thanks for your Help In Advance
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Install the package and look under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall for the uninstall string of Visio(if they've included it). Hope this helps!
Answered 08/25/2005 by: sini
Orange Senior Belt

Please log in to comment
0
Thanks for your quick response.

I have found these registries in there

[Registry Key Create]
Flag=Write Always
Key=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visio Standard

[Registry Value Create]
Type=String
Flag=Write Always
Key=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visio Standard
Name=UninstallString
Value=%*WINDIR%\uninst.exe -f"%TARGET_PATH%\System\DeIsL1.isu" -cC:\PROGRA~1\VISIO\SYSTEM\EXSETUP.DLL

[Registry Value Create]
Type=String
Flag=Write Always
Key=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visio Standard
Name=DisplayName
Value=Visio Standard


I am a new to packaging could you specify in detail as to how can I use these entries to delete the older version.
Answered 08/25/2005 by: newpackager
Senior Yellow Belt

Please log in to comment
0
This should be the uninstall string just enter it in a command box, check uninst.exe if it has any silent parameters like -s or so!

Value=%*WINDIR%\uninst.exe -f"%TARGET_PATH%\System\DeIsL1.isu" -cC:\PROGRA~1\VISIO\SYSTEM\EXSETUP.DLL

If the uninstall works you can include a custom action in you msi:
Action Name: Execute Program from Destination
Section: Execute Immediate, place before InstallFinalize
Wrap an if around with the condition "NOT INSTALLED" so it will only execute on install, furthermore you could use Systemsearch to look for the uninstall regkey and place the result(True/False) in a property table variable which you can check too before calling the uninstall.
Answered 08/25/2005 by: sini
Orange Senior Belt

Please log in to comment
0
=%*WINDIR%\uninst.exe -f"%TARGET_PATH%\System\DeIsL1.isu" -cC:\PROGRA~1\VISIO\SYSTEM\EXSETUP.DLL

This did not work for me and for Visio 5 I had created a Unintall MSI. For 2000 I dont know what to do
I have a question
For 2000 I had plenty of registries in HKLM\software\Microsoft\windows\currentversion\uninstall

like [Registry Value Create]
Type=String
Flag=Write Always
Key=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F4455372-251E-11D3-8F71-00C04F8DD7E3}
Name=DisplayVersion
Value=1.0.0.0


my question is {F4455372-251E-11D3-8F71-00C04F8DD7E3} is this a upgrade code which I can use for uninstall????????
Answered 08/25/2005 by: newpackager
Senior Yellow Belt

Please log in to comment
0
hi newpackager:

You don't need to take so much pain download visio ork 2003 from Microsoft site. While creating the transforms thru ork you can mention whether you want the old versions to be upgraded/uninstalled before the new version is installed. Once you do this then on running the visio 2003 in conjunction with the transform the above will be done. I would like to give a personal suggestion here kindly do not try to repackage Microsoft/third party vendors MSI which are complicated in nature. However in case you need help in creating the transform thru ORK do let me know.
Answered 08/25/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Wiseapp is right, must stop thinking so complicated!

But to complete my statement! As far as I know visio 2000 is already an msi! Already tried: msiexec /x {F4455372-251E-11D3-8F71-00C04F8DD7E3} ?
Answered 08/25/2005 by: sini
Orange Senior Belt

Please log in to comment
0
I had downloaded Orka and when I drag and drop my MSI and select New Transform Nothing happens. I never used ORCA to transform. I had added the Transforms to the regular MSI using ORCA.
Thanks In advance
Answered 08/25/2005 by: newpackager
Senior Yellow Belt

Please log in to comment
0
Hi newpackager:

It's not orca that you need to download its actually ORK office resource kit for visio 2003 , here is the link to download the same:

http://www.microsoft.com/office/orkarchive/2003ddl.htm scroll down and click on visiorktools.exe

Once you download and install the visiork tool goto custom installation wizard in program files and then start creating the transform. Hope now you would get it moving.
Answered 08/25/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Hi Bhupesh

Sorry about the ORCA. I had installaed ORK and when I run the custom Installation Wizard. I did not get any option as to unistall previous versions. I saw some thing like add/remove files at installation and same with the registries and run options after installation. Could you specify where can I find that. I am new to packaging if I had asked any wrong please let me know

Thanks
Newpackager
Answered 08/25/2005 by: newpackager
Senior Yellow Belt

Please log in to comment
0
Hi newpackager:

I just noticed as you said that you packaged visio 2003, by default if you install Visio msi that comes on the microsoft CD then it will ask you to uninstall the previous versions of visio, i have tried this at my end you do the same at yours. In case this does not work then again run the custom installation wizard of ORK and contibue thru the setup pages till the time you reach Modify Setup properties page (on page 14or 15 ) on the same page click the add button, In the Add/Modify Property Value dialog box, in the Name box, type REMOVEALLPREVIOUS, in the Value box, type keep, and then click OK.
Click Next, and then on the Save Changes page, click Finish. and Click Exit. I hope this would resolve your stalemate in case you still have any issues get back.
Answered 08/25/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
I am sorry just an addon to my last post in the REMOVEALLPREVIOUS property the value should be 'all'(without strings).
Answered 08/25/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Hi Bupesh

I have transformed the vendor MSI for visio 2003. Sorry about mentioning that I repackaged. I tried as per you said creating the transform and run the msi with the transform but It did not work.
The visio 5 and 2000 where repackaged through Novell Snapshot and there are not in MSI format that the only problem I am unable to install those applications.

I tried to create the MSI for those and checked Installing visio2003 and the visio 2003 will only prompt us whether you want to uninstall previous versions of visio which are in the machine.

As I am using the Snapshots the Visio 2003 does not prompt to uninstall previous versions.
I dont know how to uninstall Snapshots trought MSI. Any Advice as to how can I uninstall those applications.
Any way thanks for all your quick responses by you and Sini
Answered 08/26/2005 by: newpackager
Senior Yellow Belt

Please log in to comment
0
Hi Newpackager:

In that case if you only have snapshots definitely this options would also be ruled out you could do one thing in case you have worked with Wise script editor. Make one Wise Script file that would call this line %*WINDIR%\uninst.exe -f"%TARGET_PATH%\System\DeIsL1.isu" -cC:\PROGRA~1\VISIO\SYSTEM\EXSETUP.DLL. This is how your wise script should look like

1. set variable GETREGVALUE
2. get registry key specify the uninstall reg string that is under hklm\software\microsoft\windows\currentversion\uninstall\<productguid>

Value should be uninstallstring since this would contain the command line to uninstall vision that are already installed.

3. execute program

where you call the above line that is %*WINDIR%\uninst.exe -f"%TARGET_PATH%\System\DeIsL1.isu" -cC:\PROGRA~1\VISIO\SYSTEM\EXSETUP.DLL

Now create a custom transform using ur ork and call this program on execute external programs. Hope this would resolve your issue.
Answered 08/27/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Hi Bupesh

Thanks for your responses. I came to know real good things from you. I tried to Create a Wise script and I got the errors when I try to run the wisescript to test it . It says that it did not find DEIsl1.isu and the same thing with the Exsetup.dll.
I think I am missing some thing in the wise script can you mail me in more detail about creating the wise script.

Thanks in advance
New Packager
Answered 08/29/2005 by: newpackager
Senior Yellow Belt

Please log in to comment
0
Hi NewPackager:

Thanks a lot for your appreciation (that could have been compensated in the form my online Score)[;)]Anyways what I would suggest right now is please paste the exact registry value here and I will create a wise script for you. Since at this moment I am not able to make out what is going wrong? Anyways do write in.
Answered 08/29/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Hi Bupesh

I had created the custom action as you specified and it worked fine. thanks a lot for your help in making the application work.

thanks
new Packager
Answered 08/30/2005 by: newpackager
Senior Yellow Belt

Please log in to comment
0
Hi newpackager:

Gr8 to hear that my suggestions proved to be some help to you. Congrats once again.

take care
Answered 08/30/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity