/build/static/layout/Breadcrumb_cap_w.png

change Install Source ?

hello,

I would like to know the method which makes it possible to change the way of the source of the package?
Because if I install a package of C:\packagedirectory\package.msi, I would wish that the calls to the source be done on a share network.
That can arrive when part of the application settles in the profile running and that one changes user and thus profile.

I find INSTALLSOURCE in registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{xxxx-xxxxxxx-xxxxx}\InstallSource = C:\packagedirectory\

If I change the value of this key by \\server\share\packagedirectory\ the application continuous to seek the source on C:\packagedirectory\…

Thank you for your assistance.

0 Comments   [ + ] Show comments

Answers (7)

Posted by: AB 17 years ago
Purple Belt
0
HKey Classes Root\Installer\Products\[ProductCode]\SourceList
Regards,
Al
Posted by: rpfenninger 17 years ago
Second Degree Green Belt
0
Add the property SOURCELIST to the Property table and add the path where you want it to search for.
If you have more than one sources use ; to separate them.

Hope this helps

Cheers

Roland
Posted by: keihilin 17 years ago
Orange Senior Belt
0
Thank you for your answer,

But, i set SOURCELIST=\\serveur\share\packagedirectory\ in Property and it's doesn't work.. i look at registry, the package dont create the string "HKey Classes Root\Installer\Products\[ProductCode]\SourceList=\\server\share\packagedirectory\"

I create the string "HKey Classes Root\Installer\Products\[ProductCode]\SourceList=\\server\share\packagedirectory\" it's still doesn't work.
Posted by: AngelD 17 years ago
Red Belt
0
The registry should look something like (bellow) when the SOURCELIST has been uppdated

SourceList\LastUsedSource (REG_EXPAND_SZ) = n;1;\\server\share\packagedirectory\
SourceList\Net\1 (REG_EXPAND_SZ) = \\server\share\packagedirectory\
Posted by: keihilin 17 years ago
Orange Senior Belt
0
I've this:

HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\LastUsedSource (REG_EXPAND_SZ) = n;1;C:\Package\

HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\Media\1 (REG_SZ)= DISK1;1
HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\Media\DiskPrompt (REG_SZ) = [1]

HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\Net\1 (REG_EXPAND_SZ) = C:\Package\
HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\Net\2 [REG_EXPAND_SZ) = \\server\packages$\_DEV\package

When i delete the package from C:\Package\package.msi, reboot and logon with other user profil. the messagebox ask me to find source and propose :
1) C:\package
2) \\server\packages$\_DEV\package

If i select answer 2, it's doesn't work...
Posted by: jmcfadyen 17 years ago
5th Degree Black Belt
0
if you are using windows installer 3.0 or later you also have the option of using the windows installer api to change the sourcelist after deployment.

have a look at WindowsInstaller.Installer in the sdk.

example follows.

set objInstaller = CreateObject("WindowsInstaller.Installer")
objInstaller.ClearSourceList "{ProductCode for app}"
objInstaller.AddSource "{ProductCode for app},"", "New source location as UNC"
Posted by: keihilin 17 years ago
Orange Senior Belt
0
Hello,

It's all right, i try on physical computer (before i only try on VMWARE) and it's working ;o) with SOURCELIST property.

Jmcfadyen, for your solution i must use a CUSTOM ACTION ?

Thank you all ;o)
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