/build/static/layout/Breadcrumb_cap_w.png

Error 1706

I built a setup.exe for my application by using InstallScript MSI project Installshield DevStudio 9.0. There're several components in my project. After installing the application by running the setup.exe, I delete one of the file in the installed directory and run the setup.exe again, then I choose "repair" to fix what I've done. I get error 1706. Setup.exe is unable to locate a file [...pathA\myapp.msi]. I check the path and found the file is exactly there. I search the internet and realized that there's a "InstallSource" in windows registry of the application. It is in "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall". InstallSource has specified another path [...pathB]. If I create [pathB] and copy [myapp.msi] there. The repair will run without any problem.
Can anyone help me fix the problem? I don't want my customer get an error 1706 when they choose "repair". Thank you very much.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: wiseapp 18 years ago
Second Degree Green Belt
0
G'day Joanna:

Installsource is a key from where the MSI has been installed, however in your case I think you install your application from PATH-B rather than Path-A is that so ? In case if you ran from Path-B then the installer will search for path B to fix the repair issue , try this goto the registry key and change the value of installsource to path-A now you won't get this issue. Do let me know as to wht you did.

God Bless!
Posted by: joanna 18 years ago
Yellow Belt
0
Hi Bhupesh,
Thank you.
Path-B was created in my system TEMP directory the first time I run the setup.exe on my machine. After the installation, the dirctory will be deleted automatically. If I delete one of my installed file and run setup.exe on my machine the second time, choose "repair", Path-A will be created in TEMP directory too and the msi file will be decompressed there. But I get a 1706 error saying that it cannot locate the msi file in Path-A. My setup.exe is a single executable. Path-A is not always Path-A. Every time I run setup.exe, a temporary directory will be created in my system TEMP directory and removed after setup.exe finished.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ