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.
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)
Please log in to answer
Posted by:
AB
17 years ago
Posted by:
rpfenninger
17 years ago
Posted by:
keihilin
17 years ago
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.
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
Posted by:
keihilin
17 years ago
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...
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
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"
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.